Top Description Fields Constructors Methods
io.undertow.client

public final Class ClientRequest

extends AbstractAttachable
Class Inheritance
Imports
io.undertow.util.AbstractAttachable, .HeaderMap, .HttpString, .Methods, .Protocols

A client request. This class should not be modified once it has been submitted to the ClientConnection. This class only represents the HTTP header, it does not represent an entity body. If the request needs an entity body then this must be specified by either setting a Content-Length or Transfer-Encoding header, otherwise the client will assume that the body is empty.
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private HttpString
private String
private HttpString
private final HeaderMap

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public HttpString
public String
public HttpString
public HeaderMap
public ClientRequest
public ClientRequest
public ClientRequest
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from io.undertow.util.AbstractAttachable:
addToAttachmentListcreateAttachmentMapgetAttachmentgetAttachmentListputAttachmentremoveAttachment

Field Detail

methodback to summary
private HttpString method
pathback to summary
private String path
protocolback to summary
private HttpString protocol
requestHeadersback to summary
private final HeaderMap requestHeaders

Constructor Detail

ClientRequestback to summary
public ClientRequest()

Method Detail

getMethodback to summary
public HttpString getMethod()
getPathback to summary
public String getPath()
getProtocolback to summary
public HttpString getProtocol()
getRequestHeadersback to summary
public HeaderMap getRequestHeaders()
setMethodback to summary
public ClientRequest setMethod(HttpString method)
setPathback to summary
public ClientRequest setPath(String path)
setProtocolback to summary
public ClientRequest setProtocol(HttpString protocol)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override