Package io.undertow.client
Class ClientRequest
java.lang.Object
io.undertow.util.AbstractAttachable
io.undertow.client.ClientRequest
- All Implemented Interfaces:
Attachable
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPath()
setMethod
(HttpString method) setProtocol
(HttpString protocol) toString()
Methods inherited from class io.undertow.util.AbstractAttachable
addToAttachmentList, createAttachmentMap, getAttachment, getAttachmentList, putAttachment, removeAttachment