Class EchoRequestInterceptor
- java.lang.Object
-
- org.restheart.test.plugins.interceptors.EchoRequestInterceptor
-
- All Implemented Interfaces:
ByteArrayInterceptor,ConfigurablePlugin,ExchangeTypeResolver<ByteArrayRequest,ByteArrayResponse>,Interceptor<ByteArrayRequest,ByteArrayResponse>,Plugin
public class EchoRequestInterceptor extends Object implements ByteArrayInterceptor
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
-
Constructor Summary
Constructors Constructor Description EchoRequestInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(ByteArrayRequest request, ByteArrayResponse response)booleanresolve(ByteArrayRequest request, ByteArrayResponse response)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.restheart.plugins.ExchangeTypeResolver
requestType, responseType
-
-
-
-
Method Detail
-
handle
public void handle(ByteArrayRequest request, ByteArrayResponse response) throws Exception
- Specified by:
handlein interfaceInterceptor<ByteArrayRequest,ByteArrayResponse>- Throws:
Exception
-
resolve
public boolean resolve(ByteArrayRequest request, ByteArrayResponse response)
- Specified by:
resolvein interfaceInterceptor<ByteArrayRequest,ByteArrayResponse>
-
-