public interface HttpConnectorFuture
| Modifier and Type | Method and Description |
|---|---|
void |
notifyErrorListener(Throwable cause)
Notify error messages to the listener.
|
void |
notifyHttpListener(Http2PushPromise pushPromise)
Notifies
Http2PushPromise to the listener. |
void |
notifyHttpListener(HttpCarbonMessage httpMessage)
Notify HTTP messages to the listener.
|
void |
notifyHttpListener(HttpCarbonMessage httpMessage,
Http2PushPromise pushPromise)
Notifies HTTP Server Push messages to the listener.
|
void |
setHttpConnectorListener(HttpConnectorListener connectorListener)
Set Connector listener for HTTP.
|
void setHttpConnectorListener(HttpConnectorListener connectorListener)
connectorListener - Connector listener for HTTP.void notifyHttpListener(HttpCarbonMessage httpMessage) throws ServerConnectorException
httpMessage - HTTP message.ServerConnectorException - if any error occurred during the notification.void notifyHttpListener(HttpCarbonMessage httpMessage, Http2PushPromise pushPromise) throws ServerConnectorException
httpMessage - the HttpCarbonMessage receive as the push responsepushPromise - the related Http2PushPromiseServerConnectorException - if any error occurred during the notificationvoid notifyHttpListener(Http2PushPromise pushPromise) throws ServerConnectorException
Http2PushPromise to the listener.pushPromise - the push promise messageServerConnectorException - in case of failurevoid notifyErrorListener(Throwable cause) throws ServerConnectorException
cause - Reason for the error.ServerConnectorException - if any error occurred during the error notification.Copyright © 2023 WSO2. All rights reserved.