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

java.lang.Object
org.restheart.polyglot.JSPlugin
org.restheart.polyglot.interceptors.JSInterceptor<R,S>
All Implemented Interfaces:
ConfigurablePlugin, ExchangeTypeResolver<R,S>, Interceptor<R,S>, Plugin
Direct Known Subclasses:
BsonJSInterceptor, ByteArrayJSInterceptor, ByteArrayProxyJSInterceptor, CsvJSInterceptor, JsonJSInterceptor, JsonProxyJSInterceptor, MongoJSInterceptor, StringJSInterceptor, WildCardJSInterceptor

public class JSInterceptor<R extends Request<?>,S extends Response<?>> extends JSPlugin implements Interceptor<R,S>
  • Constructor Details

    • JSInterceptor

      public JSInterceptor(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)
      Parameters:
      name -
      pluginClass -
      description -
      interceptPoint -
      modulesReplacements -
      handleSource -
      resolveSource -
      mclient -
      config -
      contextOptions -
  • Method Details