public class Http2ClientExchange extends AbstractAttachable implements ClientExchange
| Constructor and Description |
|---|
Http2ClientExchange(ClientConnection clientConnection, Http2StreamSinkChannel request, ClientRequest clientRequest) |
| Modifier and Type | Method and Description |
|---|---|
ClientConnection | getConnection() |
ClientResponse | getContinueResponse() |
ClientRequest | getRequest() |
org.xnio.channels.StreamSinkChannel | getRequestChannel() Returns the request channel that can be used to send data to the server. |
ClientResponse | getResponse() |
org.xnio.channels.StreamSourceChannel | getResponseChannel() Returns the response channel that can be used to read data from the target server. |
void | setContinueHandler(ContinueNotification continueHandler) |
void | setPushHandler(PushCallback pushCallback) |
void | setResponseListener(ClientCallback<ClientExchange> responseListener) |
addToAttachmentList, createAttachmentMap, getAttachment, getAttachmentList, putAttachment, removeAttachmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddToAttachmentList, getAttachment, getAttachmentList, putAttachment, removeAttachmentpublic Http2ClientExchange(ClientConnection clientConnection, Http2StreamSinkChannel request, ClientRequest clientRequest)
public void setResponseListener(ClientCallback<ClientExchange> responseListener)
setResponseListener in interface ClientExchangepublic void setContinueHandler(ContinueNotification continueHandler)
setContinueHandler in interface ClientExchangepublic void setPushHandler(PushCallback pushCallback)
setPushHandler in interface ClientExchangepublic org.xnio.channels.StreamSinkChannel getRequestChannel()
ClientExchangegetRequestChannel in interface ClientExchangepublic org.xnio.channels.StreamSourceChannel getResponseChannel()
ClientExchangegetResponseChannel in interface ClientExchangepublic ClientRequest getRequest()
getRequest in interface ClientExchangepublic ClientResponse getResponse()
getResponse in interface ClientExchangepublic ClientResponse getContinueResponse()
getContinueResponse in interface ClientExchangepublic ClientConnection getConnection()
getConnection in interface ClientExchangeCopyright © 2020 JBoss by Red Hat. All rights reserved.