public class HttpRequest extends HttpMessage implements IhttpRequest
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
CHAR |
protected static java.lang.String |
INPUT |
private character |
mcMethod |
private character |
method
Request method.
|
private object<? extends Uri> |
moUri |
protected static java.lang.String |
NET_COOKIE |
protected static java.lang.String |
NET_HTTP_METHOD_ENUM |
protected static java.lang.String |
NET_URI |
protected static java.lang.String |
OBJECT |
private object<? extends Uri> |
uri
Request URI
|
| Constructor and Description |
|---|
HttpRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
__net_http_HttpRequest_constructor__()
Constructor.
|
void |
__net_http_HttpRequest_constructor__(character _pcMethod,
object<? extends Uri> _poURI)
Constructor.
|
void |
__net_http_HttpRequest_constructor__(object<? extends MethodEnum> _poMethod,
object<? extends Uri> _poURI)
Constructor.
|
void |
__net_http_HttpRequest_execute__()
Execute method
|
void |
clearCookies()
Removes all cookies from this request.
|
character |
getMethod()
Get the HTTP method.
|
object<? extends Uri> |
getUri()
Get the HTTP URI.
|
void |
initialize()
Initialize
|
void |
removeCookie(character _pcName)
Removes cookies from this message for a given name
|
void |
setCookie(object<? extends Cookie> _poCookie)
Adds a cookie to this request.
|
protected void |
setHost(object<? extends Uri> _poUri)
Sets the Host header based on the request's URI.
|
void |
setMethod(character _method)
Set the HTTP method.
|
void |
setUri(object<? extends Uri> _uri)
Set the HTTP URI.
|
private void |
stripCookieHeader(character pcName) |
__net_http_HttpMessage_constructor__, __net_http_HttpMessage_destructor__, __net_http_HttpMessage_execute__, clearHeaders, destroy, getAdapter, getCharacterEncoding, getContentLength, getContentMd5, getContentType, getCookie, getCookies, getCookies, getEntity, getHeader, getHeaders, getHeaders, getTransferEncoding, getVersion, hasCookie, hasCookie, hasHeader, removeCookie, removeHeader, setCharacterEncoding, setContentLength, setContentMd5, setContentType, setCookies, setEntity, setHeader, setHeaders, setTransferEncoding, setVersion__isValidInternal__, __lang_BaseObject_constructor__, __setValidInternal__, assertNotNull, assertNotNull, getLegacyClass, getNextSibling, getPrevSibling, legacyClone, legacyEquals, toLegacyStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearHeaders, getCharacterEncoding, getContentLength, getContentMd5, getContentType, getCookie, getCookies, getEntity, getHeader, getHeaders, getTransferEncoding, getVersion, hasCookie, hasCookie, hasHeader, removeCookie, removeHeader, setCharacterEncoding, setContentLength, setContentMd5, setContentType, setCookies, setEntity, setHeader, setHeaders, setTransferEncoding, setVersion__isValidInternal__, __lang_BaseObject_constructor__, __setValidInternal__, getLegacyClass, getNextSibling, getPrevSibling, isTracked, legacyClone, legacyEquals, toLegacyStringprotected static final java.lang.String CHAR
protected static final java.lang.String OBJECT
protected static final java.lang.String INPUT
protected static final java.lang.String NET_URI
protected static final java.lang.String NET_COOKIE
protected static final java.lang.String NET_HTTP_METHOD_ENUM
private final character method
private character mcMethod
public character getMethod()
getMethod in interface IhttpRequestpublic void setMethod(character _method)
setMethod in interface IhttpRequest_method - the HTTP method.public object<? extends Uri> getUri()
getUri in interface IhttpRequestpublic void setUri(object<? extends Uri> _uri)
setUri in interface IhttpRequest_uri - the HTTP URI.public void clearCookies()
clearCookies in interface IhttpMessageclearCookies in class HttpMessagepublic void removeCookie(character _pcName)
removeCookie in interface IhttpMessageremoveCookie in class HttpMessage_pcName - The name of the cookie(s) to remove.protected void setHost(object<? extends Uri> _poUri)
_poUri - the request's URI.public void setCookie(object<? extends Cookie> _poCookie)
setCookie in interface IhttpMessagesetCookie in class HttpMessage_poCookie - The cookie to add.public void initialize()
initialize in interface ISupportInitializeinitialize in class HttpMessagepublic void __net_http_HttpRequest_execute__()
public void __net_http_HttpRequest_constructor__()
public void __net_http_HttpRequest_constructor__(character _pcMethod, object<? extends Uri> _poURI)
_pcMethod - request method._poURI - request URI.public void __net_http_HttpRequest_constructor__(object<? extends MethodEnum> _poMethod, object<? extends Uri> _poURI)
_poMethod - request MethodEnum._poURI - request URI.private void stripCookieHeader(character pcName)