public interface ClientExchange extends Attachable
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, getAttachment, getAttachmentList, putAttachment, removeAttachment
void setResponseListener(ClientCallback<ClientExchange> responseListener)
void setContinueHandler(ContinueNotification continueHandler)
void setPushHandler(PushCallback pushCallback)
org.xnio.channels.StreamSinkChannel getRequestChannel()
org.xnio.channels.StreamSourceChannel getResponseChannel()
ClientRequest getRequest()
ClientResponse getResponse()
ClientResponse getContinueResponse()
ClientConnection getConnection()
Copyright © 2017 JBoss by Red Hat. All rights reserved.