public class HttpClientExchange extends AbstractAttachable implements ClientExchange
Constructor and Description |
---|
HttpClientExchange(ClientCallback<ClientExchange> readyCallback,
ClientRequest request,
HttpClientConnection clientConnection) |
Modifier and Type | Method and Description |
---|---|
ClientConnection |
getConnection() |
ClientResponse |
getContinueResponse() |
ClientRequest |
getRequest() |
org.xnio.channels.StreamSinkChannel |
getRequestChannel() |
ClientResponse |
getResponse() |
org.xnio.channels.StreamSourceChannel |
getResponseChannel() |
boolean |
isRequiresContinue() |
void |
setContinueHandler(ContinueNotification continueHandler) |
void |
setResponseListener(ClientCallback<ClientExchange> listener) |
addToAttachmentList, getAttachment, getAttachmentList, putAttachment, removeAttachment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToAttachmentList, getAttachment, getAttachmentList, putAttachment, removeAttachment
public HttpClientExchange(ClientCallback<ClientExchange> readyCallback, ClientRequest request, HttpClientConnection clientConnection)
public boolean isRequiresContinue()
public void setResponseListener(ClientCallback<ClientExchange> listener)
setResponseListener
in interface ClientExchange
public void setContinueHandler(ContinueNotification continueHandler)
setContinueHandler
in interface ClientExchange
public org.xnio.channels.StreamSinkChannel getRequestChannel()
getRequestChannel
in interface ClientExchange
public org.xnio.channels.StreamSourceChannel getResponseChannel()
getResponseChannel
in interface ClientExchange
public ClientRequest getRequest()
getRequest
in interface ClientExchange
public ClientResponse getResponse()
getResponse
in interface ClientExchange
public ClientResponse getContinueResponse()
getContinueResponse
in interface ClientExchange
public ClientConnection getConnection()
getConnection
in interface ClientExchange
Copyright © 2013 JBoss by Red Hat. All rights reserved.