Class AbstractJSInterceptor<R extends Request<?>,S extends Response<?>>

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 Details

    • resolves

      protected Map<String,org.graalvm.polyglot.Value> 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