public class HttpTrace extends HttpUriRequestBase
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
METHOD_NAME |
| 构造器和说明 |
|---|
HttpTrace(String uri)
Creates a new instance initialized with the given URI.
|
HttpTrace(URI uri)
Creates a new instance initialized with the given URI.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
setEntity(HttpEntity entity)
Sets an entity for this message.
|
abort, cancel, getConfig, isAborted, isCancelled, reset, setConfig, setDependency, toStringgetEntityaddHeader, getAuthority, getMethod, getPath, getRequestUri, getScheme, getUri, getVersion, setAbsoluteRequestUri, 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, setVersioncontainsHeader, countHeaders, getFirstHeader, getHeader, getHeaders, getHeaders, getLastHeader, headerIterator, headerIteratorgetEntitypublic HttpTrace(URI uri)
uri - a non-null request URI.IllegalArgumentException - if the uri is null.public HttpTrace(String uri)
uri - a non-null request URI.IllegalArgumentException - if the uri is invalid.public void setEntity(HttpEntity entity)
HttpEntityContainerPlease note that if an entity has already been set it is responsibility of the caller to ensure release of the resources that may be associated with that entity.
setEntity 在接口中 HttpEntityContainersetEntity 在类中 BasicClassicHttpRequestentity - the entity to set of this message, or null to unsetCopyright © 2023. All rights reserved.