1. Proxies and Flow

response

Version

Interceptors are usually applied to requests and responses. By nesting interceptors into a <response> plugin you can limit their application to responses only.

Syntax

response:
- <flow>
response:
  - <flow>

Sample

<api port="2000" method="POST">
<response>
<static>POST is blocked!</static>
</response>
<return statusCode="405"/>
</api>
<api port="2000" method="POST">
    <response>
        <static>POST is blocked!</static>
    </response>
    <return statusCode="405"/>
</api>

Child Structure

ElementCardinalityDescription
flow0..*Sets the flow of plugins that will be executed.

Can be used in