Package org.apache.http
Interface HttpRequest
- All Superinterfaces:
HttpMessage
- All Known Subinterfaces:
HttpEntityEnclosingRequest
,HttpUriRequest
- All Known Implementing Classes:
AbstractExecutionAwareRequest
,BaseDavRequest
,BasicHttpEntityEnclosingRequest
,BasicHttpRequest
,EntityEnclosingRequestWrapper
,HttpBind
,HttpCheckin
,HttpCheckout
,HttpCopy
,HttpDelete
,HttpDelete
,HttpEntityEnclosingRequestBase
,HttpGet
,HttpHead
,HttpLabel
,HttpLock
,HttpMerge
,HttpMkcol
,HttpMkworkspace
,HttpMove
,HttpOptions
,HttpOptions
,HttpOrderpatch
,HttpPatch
,HttpPoll
,HttpPost
,HttpPropfind
,HttpProppatch
,HttpPut
,HttpRebind
,HttpReport
,HttpRequestBase
,HttpRequestWrapper
,HttpSearch
,HttpSubscribe
,HttpTrace
,HttpUnbind
,HttpUnlock
,HttpUnsubscribe
,HttpUpdate
,HttpVersionControl
,RequestWrapper
A request message from a client to a server includes, within the
first line of that message, the method to be applied to the resource,
the identifier of the resource, and the protocol version in use.
Request = Request-Line *(( general-header | request-header | entity-header ) CRLF) CRLF [ message-body ]
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the request line of this request.Methods inherited from interface org.apache.http.HttpMessage
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
-
Method Details
-
getRequestLine
RequestLine getRequestLine()Returns the request line of this request.- Returns:
- the request line.
-