|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Summary description for IXPRequest.
Method Summary | |
void |
ClearUnderlyingObject()
Clear all the member variables. |
java.lang.Object |
GetAttribute(java.lang.String name)
Returns the named attribute. |
java.lang.String |
GetAuthType()
Returns the name of the authentication scheme used. |
java.lang.String |
GetBasicAuthPassword()
Returns the password being used for basic authentication. |
java.lang.String |
GetBasicAuthUserName()
Returns the user name being used for basic authentication. |
byte[] |
GetBytes()
Returns the uploaded data. |
java.lang.String |
GetClientAddress()
Returns the IP address of the client as a String in dotted quad form. |
java.lang.String |
GetCompletePath()
Returns the complete path to the uploaded file. |
int |
GetContentLength()
Returns the length of the content sent by the client in bytes. |
java.lang.String |
GetContentType()
Returns the MIME type of the content sent by the client. |
XPCookie[] |
GetCookies()
Returns an array of cookies sent by the client. |
java.lang.String |
GetHeader(java.lang.String name)
Returns the value of the given HTTP header. |
IXPEnumerator |
GetHeaderNames()
Returns an Enumeration of names of all HTTP headers in the HTTP request. |
XPInputStream |
GetInputStream()
Returns the content of the incoming HTTP body. |
IXPEnumerator |
GetLocales()
Returns an Enumeration of XPLocale that the client will accept content in, based on the Accept-Language header. |
java.lang.String |
GetMethod()
Returns the HTTP data transfer method used by the client. |
IXPEnumerator |
GetParameterNames()
Returns an Enumeration of names of the parameters that are passed by the client using one of the HTTP data transfer methods like GET or POST. |
java.lang.String |
GetParameterValue(java.lang.String name)
Returns the value of the parameter given the parameter name. |
java.lang.String[] |
GetParameterValues(java.lang.String name)
Returns an array of the values of the parameter given the parameter name. |
java.lang.String |
GetQueryString()
Returns the query string. |
java.lang.String |
GetRemoteFilePath()
Returns the path to the remote file to be uploaded. |
java.lang.String |
GetRemoteUser()
Returns the name of the remote user, if present; otherwise empty string. |
java.lang.String |
GetRequestedSessionId()
Returns the session ID specified by the client. |
java.lang.String |
GetRequestURI()
Returns the section of the URL between the protocol and the query string. |
java.lang.String |
GetRequestURL()
Returns the full URL, without the query string. |
java.lang.String |
GetScheme()
Returns a String containing the name of the scheme used to make this request (such as http, https, or ftp). |
java.lang.String |
GetServerName()
Returns the host name of the server. |
int |
GetServerPort()
Returns the server port. |
java.lang.String |
GetServerVariable(java.lang.String name)
Deprecated. This method is deprecated, because it will always behave differently in Java and .NET |
IXPEnumerator |
GetServerVariableNames()
Deprecated. This method is deprecated, because it will always behave differently in Java and .NET |
XPSession |
GetSession()
Returns the XPSession for this request. |
boolean |
IsSecureConnection()
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS. |
void |
ParseRequest()
Gets the QueryString and Form data and constructs a hashtable of parameter/value pairs. |
void |
Save(java.lang.String _sFilePath)
Saves the last file to be uploaded from a multi-part MIME request to the specified directory. |
void |
SetAttribute(java.lang.String name,
java.lang.Object _value)
Sets the named attribute. |
Method Detail |
public java.lang.Object GetAttribute(java.lang.String name)
name
- Name of the attribute
public int GetContentLength()
public java.lang.String GetAuthType()
public java.lang.String GetBasicAuthUserName()
public java.lang.String GetBasicAuthPassword()
public java.lang.String GetClientAddress()
public java.lang.String GetContentType()
public XPInputStream GetInputStream()
public XPCookie[] GetCookies()
public java.lang.String GetHeader(java.lang.String name)
name
- Name of the HTTP header. For e.g. HTTP_USER_AGENT
public IXPEnumerator GetHeaderNames()
public IXPEnumerator GetLocales()
public java.lang.String GetMethod()
public IXPEnumerator GetParameterNames()
public java.lang.String GetParameterValue(java.lang.String name)
name
- Name of the parameter
public java.lang.String[] GetParameterValues(java.lang.String name)
name
- Name of the parameter
public boolean IsSecureConnection()
public java.lang.String GetQueryString()
public java.lang.String GetRequestedSessionId()
public java.lang.String GetRequestURI()
public java.lang.String GetRequestURL()
public java.lang.String GetRemoteUser()
public java.lang.String GetScheme()
public java.lang.String GetServerName()
public int GetServerPort()
public java.lang.String GetServerVariable(java.lang.String name)
name
- Name of the
public IXPEnumerator GetServerVariableNames()
public XPSession GetSession()
public void SetAttribute(java.lang.String name, java.lang.Object _value)
name
- Name of the attribute_value
- Object value of the attributepublic byte[] GetBytes()
public java.lang.String GetCompletePath()
public java.lang.String GetRemoteFilePath()
public void Save(java.lang.String _sFilePath) throws java.io.IOException
_sFilePath
- a String containing the path to the directory
where the remote file should be uploaded to.
java.io.IOException
- if saving into file fails.public void ParseRequest()
java.io.IOException
- if it can't parse the request.public void ClearUnderlyingObject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |