Package org.restheart.examples
Class SlackNotifierInterceptor
java.lang.Object
org.restheart.examples.SlackNotifierInterceptor
- All Implemented Interfaces:
ConfigurablePlugin,ExchangeTypeResolver<MongoRequest,,MongoResponse> Interceptor<MongoRequest,,MongoResponse> MongoInterceptor,Plugin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(MongoRequest mongoRequest, MongoResponse mongoResponse) voidinit()booleanresolve(MongoRequest request, MongoResponse 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
-
SlackNotifierInterceptor
public SlackNotifierInterceptor()
-
-
Method Details
-
init
public void init() -
handle
public void handle(MongoRequest mongoRequest, MongoResponse mongoResponse) throws IOException, InterruptedException - Specified by:
handlein interfaceInterceptor<MongoRequest,MongoResponse> - Throws:
IOExceptionInterruptedException
-
resolve
- Specified by:
resolvein interfaceInterceptor<MongoRequest,MongoResponse>
-