public class SpdyClientExchange extends AbstractAttachable implements ClientExchange
Constructor and Description |
---|
SpdyClientExchange(ClientConnection clientConnection,
SpdyStreamSinkChannel request,
ClientRequest clientRequest) |
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, createAttachmentMap, getAttachment, getAttachmentList, putAttachment, removeAttachment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToAttachmentList, getAttachment, getAttachmentList, putAttachment, removeAttachment
public SpdyClientExchange(ClientConnection clientConnection, SpdyStreamSinkChannel request, ClientRequest clientRequest)
public void setResponseListener(ClientCallback<ClientExchange> responseListener)
setResponseListener
in interface ClientExchange
public void setContinueHandler(ContinueNotification continueHandler)
setContinueHandler
in interface ClientExchange
public void setPushHandler(PushCallback pushCallback)
setPushHandler
in interface ClientExchange
public StreamSinkChannel getRequestChannel()
ClientExchange
getRequestChannel
in interface ClientExchange
public StreamSourceChannel getResponseChannel()
ClientExchange
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 © 2016 JBoss by Red Hat. All rights reserved.