Top Methods
io.undertow.client

public Interface ClientExchange

extends Attachable
Known Direct Implementers
io.undertow.client.ajp.AjpClientExchange, io.undertow.client.http.HttpClientExchange, io.undertow.client.http2.Http2ClientExchange
Imports
io.undertow.util.Attachable, org.xnio.channels.StreamSinkChannel, .StreamSourceChannel

Author
Stuart Douglas

Method Summary

Modifier and TypeMethod and Description
public ClientConnection

Returns:

The underlying connection
getConnection
()

public ClientResponse

Returns:

the result of a HTTP 100-continue response
getContinueResponse
()

public ClientRequest
public StreamSinkChannel

Returns:

The request channel
getRequestChannel
()

Returns the request channel that can be used to send data to the server.

public ClientResponse

Returns:

The client response, or null if it has not been received yet
getResponse
()

public StreamSourceChannel

Returns:

The response channel
getResponseChannel
()

Returns the response channel that can be used to read data from the target server.

public void
public void
public void
Inherited from io.undertow.util.Attachable:
addToAttachmentListgetAttachmentgetAttachmentListputAttachmentremoveAttachment

Method Detail

getConnectionback to summary
public ClientConnection getConnection()
Returns:ClientConnection

The underlying connection

getContinueResponseback to summary
public ClientResponse getContinueResponse()
Returns:ClientResponse

the result of a HTTP 100-continue response

getRequestback to summary
public ClientRequest getRequest()
getRequestChannelback to summary
public StreamSinkChannel getRequestChannel()

Returns the request channel that can be used to send data to the server.

Returns:StreamSinkChannel

The request channel

getResponseback to summary
public ClientResponse getResponse()
Returns:ClientResponse

The client response, or null if it has not been received yet

getResponseChannelback to summary
public StreamSourceChannel getResponseChannel()

Returns the response channel that can be used to read data from the target server.

Returns:StreamSourceChannel

The response channel

setContinueHandlerback to summary
public void setContinueHandler(final ContinueNotification continueHandler)
setPushHandlerback to summary
public void setPushHandler(PushCallback pushCallback)
setResponseListenerback to summary
public void setResponseListener(final ClientCallback<ClientExchange> responseListener)