Class RouterWebServices.RequestInterceptorChainWrapper

java.lang.Object
org.apache.hadoop.yarn.server.router.webapp.RouterWebServices.RequestInterceptorChainWrapper
Enclosing class:
RouterWebServices

@Private public static class RouterWebServices.RequestInterceptorChainWrapper extends Object
Private structure for encapsulating RequestInterceptor and user instances.
  • Constructor Details

    • RequestInterceptorChainWrapper

      public RequestInterceptorChainWrapper()
  • Method Details

    • init

      public void init(RESTRequestInterceptor interceptor)
      Initializes the wrapper with the specified parameters.
      Parameters:
      interceptor - the first interceptor in the pipeline
    • getRootInterceptor

      public RESTRequestInterceptor getRootInterceptor()
      Gets the root request interceptor.
      Returns:
      the root request interceptor
    • finalize

      protected void finalize()
      Shutdown the chain of interceptors when the object is destroyed.
      Overrides:
      finalize in class Object