Class BrokerInterceptor.BrokerInterceptorDisabled

  • All Implemented Interfaces:
    java.lang.AutoCloseable, BrokerInterceptor
    Enclosing interface:
    BrokerInterceptor

    public static class BrokerInterceptor.BrokerInterceptorDisabled
    extends java.lang.Object
    implements BrokerInterceptor
    Broker interceptor disabled implementation.
    • Constructor Detail

      • BrokerInterceptorDisabled

        public BrokerInterceptorDisabled()
    • Method Detail

      • onPulsarCommand

        public void onPulsarCommand​(org.apache.pulsar.common.api.proto.BaseCommand command,
                                    ServerCnx cnx)
                             throws org.apache.pulsar.common.intercept.InterceptException
        Description copied from interface: BrokerInterceptor
        Called by the broker while new command incoming.
        Specified by:
        onPulsarCommand in interface BrokerInterceptor
        Throws:
        org.apache.pulsar.common.intercept.InterceptException
      • onWebserviceRequest

        public void onWebserviceRequest​(javax.servlet.ServletRequest request)
        Description copied from interface: BrokerInterceptor
        Called by the web service while new request incoming.
        Specified by:
        onWebserviceRequest in interface BrokerInterceptor
      • onWebserviceResponse

        public void onWebserviceResponse​(javax.servlet.ServletRequest request,
                                         javax.servlet.ServletResponse response)
        Description copied from interface: BrokerInterceptor
        Intercept the webservice response before send to client.
        Specified by:
        onWebserviceResponse in interface BrokerInterceptor
      • initialize

        public void initialize​(PulsarService pulsarService)
                        throws java.lang.Exception
        Description copied from interface: BrokerInterceptor
        Initialize the broker interceptor.
        Specified by:
        initialize in interface BrokerInterceptor
        Throws:
        java.lang.Exception - when fail to initialize the broker interceptor.
      • close

        public void close()
        Description copied from interface: BrokerInterceptor
        Close this broker interceptor.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface BrokerInterceptor