Class EchoProxyRequestInterceptor
java.lang.Object
org.restheart.test.plugins.interceptors.EchoProxyRequestInterceptor
- All Implemented Interfaces:
ConfigurablePlugin,ExchangeTypeResolver<ByteArrayProxyRequest,,ByteArrayProxyResponse> Interceptor<ByteArrayProxyRequest,,ByteArrayProxyResponse> Plugin,ProxyInterceptor
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ByteArrayProxyRequest request, ByteArrayProxyResponse response) voidshows how to inject configuration via @OnInitbooleanresolve(ByteArrayProxyRequest request, ByteArrayProxyResponse response) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.restheart.plugins.ConfigurablePlugin
arg, argOrDefaultMethods inherited from interface org.restheart.plugins.ExchangeTypeResolver
requestType, responseType
-
Constructor Details
-
EchoProxyRequestInterceptor
public EchoProxyRequestInterceptor()
-
-
Method Details
-
init
shows how to inject configuration via @OnInit- Parameters:
args-
-
handle
- Specified by:
handlein interfaceInterceptor<ByteArrayProxyRequest,ByteArrayProxyResponse> - Throws:
Exception
-
resolve
- Specified by:
resolvein interfaceInterceptor<ByteArrayProxyRequest,ByteArrayProxyResponse>
-