Class EchoExampleResponseInterceptor
- java.lang.Object
-
- org.restheart.security.plugins.interceptors.EchoExampleResponseInterceptor
-
- All Implemented Interfaces:
ConfigurablePlugin,HandlingPlugin,Interceptor,Plugin
public class EchoExampleResponseInterceptor extends Object implements Interceptor
- Author:
- Andrea Di Cesare
-
-
Constructor Summary
Constructors Constructor Description EchoExampleResponseInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(io.undertow.server.HttpServerExchange exchange)voidinit(Map<String,Object> args)shows how to inject configuration via @OnInitbooleanresolve(io.undertow.server.HttpServerExchange exchange)
-
-
-
Method Detail
-
init
public void init(Map<String,Object> args)
shows how to inject configuration via @OnInit- Parameters:
args-
-
handle
public void handle(io.undertow.server.HttpServerExchange exchange) throws Exception- Specified by:
handlein interfaceHandlingPlugin- Throws:
Exception
-
resolve
public boolean resolve(io.undertow.server.HttpServerExchange exchange)
- Specified by:
resolvein interfaceHandlingPlugin
-
-