IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

HTTP Response handling API reference

Last modified: 10 August 2022

HTTP Response handler scripts are written in JavaScript ECMAScript 5.1, with coding assistance and documentation handled by the bundled HTTP Response Handler library. The library exposes two objects to be used for composing response handler scripts:

  • client stores the session metadata, which can be modified inside the script. The client's state is preserved until you close IntelliJ IDEA.

  • response holds information about the received response: its content type, status, response body, and so on.