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, toString
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRequestLine
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
public BasicHttpEntityEnclosingRequest(String method, String uri, ProtocolVersion ver)
public BasicHttpEntityEnclosingRequest(RequestLine requestline)
public HttpEntity getEntity()
HttpEntityEnclosingRequest
getEntity
in interface HttpEntityEnclosingRequest
public void setEntity(HttpEntity entity)
HttpEntityEnclosingRequest
setEntity
in interface HttpEntityEnclosingRequest
entity
- the entity to send.public boolean expectContinue()
HttpEntityEnclosingRequest
expectContinue
in interface HttpEntityEnclosingRequest
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.