public static class BrokerInterceptor.BrokerInterceptorDisabled extends Object implements BrokerInterceptor
BrokerInterceptor.BrokerInterceptorDisabledDISABLED| Constructor and Description |
|---|
BrokerInterceptorDisabled() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this broker interceptor.
|
void |
initialize(PulsarService pulsarService)
Initialize the broker interceptor.
|
void |
onConnectionClosed(ServerCnx cnx)
Called by the broker while connection closed.
|
void |
onPulsarCommand(org.apache.pulsar.common.api.proto.BaseCommand command,
ServerCnx cnx)
Called by the broker while new command incoming.
|
void |
onWebserviceRequest(javax.servlet.ServletRequest request)
Called by the web service while new request incoming.
|
void |
onWebserviceResponse(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Intercept the webservice response before send to client.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeforeSendMessage, onFilterpublic void onPulsarCommand(org.apache.pulsar.common.api.proto.BaseCommand command,
ServerCnx cnx)
throws org.apache.pulsar.common.intercept.InterceptException
BrokerInterceptoronPulsarCommand in interface BrokerInterceptororg.apache.pulsar.common.intercept.InterceptExceptionpublic void onConnectionClosed(ServerCnx cnx)
BrokerInterceptoronConnectionClosed in interface BrokerInterceptorpublic void onWebserviceRequest(javax.servlet.ServletRequest request)
BrokerInterceptoronWebserviceRequest in interface BrokerInterceptorpublic void onWebserviceResponse(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
BrokerInterceptoronWebserviceResponse in interface BrokerInterceptorpublic void initialize(PulsarService pulsarService) throws Exception
BrokerInterceptorinitialize in interface BrokerInterceptorException - when fail to initialize the broker interceptor.public void close()
BrokerInterceptorclose in interface AutoCloseableclose in interface BrokerInterceptorCopyright © 2017–2022 Apache Software Foundation. All rights reserved.