public interface ClientExchange extends Attachable
Modifier and Type | Method and Description |
---|---|
ClientConnection |
getConnection() |
ClientResponse |
getContinueResponse() |
ClientRequest |
getRequest() |
StreamSinkChannel |
getRequestChannel()
Returns the request channel that can be used to send data to the server.
|
ClientResponse |
getResponse() |
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)
StreamSinkChannel getRequestChannel()
StreamSourceChannel getResponseChannel()
ClientRequest getRequest()
ClientResponse getResponse()
ClientResponse getContinueResponse()
ClientConnection getConnection()
Copyright © 2017 JBoss by Red Hat. All rights reserved.