public class Axis2ServerPushListener
extends java.lang.Object
implements org.wso2.transport.http.netty.contract.HttpClientConnectorListener
Axis2ServerPushListener is the class which listens for HTTP/2 server pushes from the backend.| Constructor and Description |
|---|
Axis2ServerPushListener(org.wso2.transport.http.netty.message.Http2PushPromise pushPromise,
org.wso2.transport.http.netty.contract.HttpResponseFuture future,
org.apache.axis2.context.MessageContext requestMsgCtx,
org.apache.axis2.transport.base.threads.WorkerPool workerPool) |
Axis2ServerPushListener(org.wso2.transport.http.netty.contract.HttpResponseFuture future,
org.apache.axis2.context.MessageContext requestMsgCtx,
org.apache.axis2.transport.base.threads.WorkerPool workerPool) |
| Modifier and Type | Method and Description |
|---|---|
void |
onPushPromise(org.wso2.transport.http.netty.message.Http2PushPromise pushPromise) |
void |
onPushPromiseAvailability(boolean isPromiseAvailable) |
void |
onPushResponse(int promiseId,
org.wso2.transport.http.netty.message.HttpCarbonMessage httpMessage) |
public Axis2ServerPushListener(org.wso2.transport.http.netty.contract.HttpResponseFuture future,
org.apache.axis2.context.MessageContext requestMsgCtx,
org.apache.axis2.transport.base.threads.WorkerPool workerPool)
public Axis2ServerPushListener(org.wso2.transport.http.netty.message.Http2PushPromise pushPromise,
org.wso2.transport.http.netty.contract.HttpResponseFuture future,
org.apache.axis2.context.MessageContext requestMsgCtx,
org.apache.axis2.transport.base.threads.WorkerPool workerPool)
public void onPushPromiseAvailability(boolean isPromiseAvailable)
onPushPromiseAvailability in interface org.wso2.transport.http.netty.contract.HttpClientConnectorListenerpublic void onPushPromise(org.wso2.transport.http.netty.message.Http2PushPromise pushPromise)
onPushPromise in interface org.wso2.transport.http.netty.contract.HttpConnectorListenerpublic void onPushResponse(int promiseId,
org.wso2.transport.http.netty.message.HttpCarbonMessage httpMessage)
onPushResponse in interface org.wso2.transport.http.netty.contract.HttpConnectorListenerCopyright © 2005-2022 Apache Software Foundation. All Rights Reserved.