public interface HttpConnectorListener
| Modifier and Type | Method and Description |
|---|---|
void |
onError(Throwable throwable)
Each error event triggered by connector ends up here.
|
void |
onMessage(HttpCarbonMessage httpMessage)
Gets notified for events on a http message.
|
default void |
onPushPromise(Http2PushPromise pushPromise)
Gets notified for an event on a
Http2PushPromise. |
default void |
onPushResponse(int promiseId,
HttpCarbonMessage httpMessage)
Gets notified for events on Push responses.
|
void onMessage(HttpCarbonMessage httpMessage)
httpMessage - contains the state change information of the event.void onError(Throwable throwable)
throwable - contains the error details of the event.default void onPushPromise(Http2PushPromise pushPromise)
Http2PushPromise.pushPromise - the push promise messagedefault void onPushResponse(int promiseId,
HttpCarbonMessage httpMessage)
promiseId - the promise id of the push responsehttpMessage - the push response messageCopyright © 2022 WSO2. All rights reserved.