java.lang.Object
org.restheart.polyglot.AbstractJSPlugin
org.restheart.polyglot.interceptors.AbstractJSInterceptor<R,S>
- All Implemented Interfaces:
ConfigurablePlugin,ExchangeTypeResolver<R,,S> Interceptor<R,,S> Plugin
- Direct Known Subclasses:
BsonJSInterceptor,ByteArrayJSInterceptor,ByteArrayProxyJSInterceptor,CsvJSInterceptor,JsonJSInterceptor,JsonProxyJSInterceptor,MongoJSInterceptor,StringJSInterceptor
public class AbstractJSInterceptor<R extends Request<?>,S extends Response<?>>
extends AbstractJSPlugin
implements Interceptor<R,S>
-
Field Summary
FieldsFields inherited from class org.restheart.polyglot.AbstractJSPlugin
contextOptions, ctxs, description, engine, handles, handleSource, interceptPoint, isInterceptor, isService, matchPolicy, mclient, modulesReplacements, name, pluginArgs, pluginClass, secured, uri -
Constructor Summary
ConstructorsConstructorDescriptionAbstractJSInterceptor(String name, String pluginClass, String description, InterceptPoint interceptPoint, org.graalvm.polyglot.Source handleSource, org.graalvm.polyglot.Source resolveSource, com.mongodb.client.MongoClient mclient, Map<String, Object> pluginArgs, Map<String, String> contextOptions) -
Method Summary
Methods inherited from class org.restheart.polyglot.AbstractJSPlugin
addBindings, context, ctx, finalize, getDescription, getInterceptPoint, getMatchPolicy, getName, getPluginClass, getUri, handle, isSecuredMethods inherited from class java.lang.Object
clone, equals, 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
-
Field Details
-
resolves
-
-
Constructor Details
-
AbstractJSInterceptor
public AbstractJSInterceptor(String name, String pluginClass, String description, InterceptPoint interceptPoint, org.graalvm.polyglot.Source handleSource, org.graalvm.polyglot.Source resolveSource, com.mongodb.client.MongoClient mclient, Map<String, Object> pluginArgs, Map<String, String> contextOptions) - Parameters:
name-pluginClass-description-interceptPoint-mclient-modulesReplacements-
-
-
Method Details