public class BasicHttpEntityEnclosingRequest extends BasicHttpRequest implements HttpEntityEnclosingRequest
HttpEntityEnclosingRequest.headergroup, params| Constructor and Description |
|---|
BasicHttpEntityEnclosingRequest(RequestLine requestline) |
BasicHttpEntityEnclosingRequest(String method,
String uri) |
BasicHttpEntityEnclosingRequest(String method,
String uri,
ProtocolVersion ver) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
expectContinue()
Tells if this request should use the expect-continue handshake.
|
HttpEntity |
getEntity()
Returns the entity associated with this request.
|
void |
setEntity(HttpEntity entity)
Associates the entity with this request.
|
getProtocolVersion, getRequestLine, toStringaddHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRequestLineaddHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParamspublic BasicHttpEntityEnclosingRequest(String method, String uri, ProtocolVersion ver)
public BasicHttpEntityEnclosingRequest(RequestLine requestline)
public HttpEntity getEntity()
HttpEntityEnclosingRequestgetEntity in interface HttpEntityEnclosingRequestpublic void setEntity(HttpEntity entity)
HttpEntityEnclosingRequestsetEntity in interface HttpEntityEnclosingRequestentity - the entity to send.public boolean expectContinue()
HttpEntityEnclosingRequestexpectContinue in interface HttpEntityEnclosingRequestCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.