public class HttpPost extends HttpUriRequestBase
| Modifier and Type | Field and Description |
|---|---|
static String |
METHOD_NAME |
| Constructor and Description |
|---|
HttpPost(String uri)
Creates a new instance initialized with the given URI.
|
HttpPost(URI uri)
Creates a new instance initialized with the given URI.
|
abort, cancel, getConfig, isAborted, isCancelled, reset, setConfig, setDependency, toStringgetEntity, setEntityaddHeader, getAuthority, getMethod, getPath, getRequestUri, getScheme, getUri, getVersion, setAuthority, setHeader, setPath, setScheme, setUri, setVersionaddHeader, clear, containsHeader, countHeaders, getCondensedHeader, getFirstHeader, getHeader, getHeaders, getHeaders, getLastHeader, headerIterator, headerIterator, removeHeader, removeHeaders, removeHeaders, setHeader, setHeadersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAuthority, getMethod, getPath, getRequestUri, getScheme, getUri, setAuthority, setPath, setScheme, setUriaddHeader, addHeader, getVersion, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setVersionpublic static final String METHOD_NAME
public HttpPost(URI uri)
uri - a non-null request URI.IllegalArgumentException - if the uri is null.public HttpPost(String uri)
uri - a non-null request URI.IllegalArgumentException - if the uri is invalid.Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.