Class JsonJSInterceptor
java.lang.Object
org.restheart.polyglot.JSPlugin
org.restheart.polyglot.interceptors.JSInterceptor<JsonRequest,JsonResponse>
org.restheart.polyglot.interceptors.JsonJSInterceptor
- All Implemented Interfaces:
ConfigurablePlugin,ExchangeTypeResolver<JsonRequest,,JsonResponse> Interceptor<JsonRequest,,JsonResponse> Plugin
-
Field Summary
Fields inherited from class org.restheart.polyglot.JSPlugin
contextQueue, LOGGER -
Constructor Summary
ConstructorsConstructorDescriptionJsonJSInterceptor(String name, String pluginClass, String description, InterceptPoint interceptPoint, String modulesReplacements, org.graalvm.polyglot.Source handleSource, org.graalvm.polyglot.Source resolveSource, Optional<com.mongodb.client.MongoClient> mclient, Configuration config, Map<String, String> contextOptions) -
Method Summary
Methods inherited from class org.restheart.polyglot.interceptors.JSInterceptor
getInterceptPoint, getPluginClass, handle, resolveMethods inherited from class org.restheart.polyglot.JSPlugin
configuration, engine, getDescription, handleSource, mclient, name, releaseCtx, takeCtxMethods 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
-
JsonJSInterceptor
public JsonJSInterceptor(String name, String pluginClass, String description, InterceptPoint interceptPoint, String modulesReplacements, org.graalvm.polyglot.Source handleSource, org.graalvm.polyglot.Source resolveSource, Optional<com.mongodb.client.MongoClient> mclient, Configuration config, Map<String, String> contextOptions)
-