|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IXPRequest
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 |
---|
java.lang.Object GetAttribute(java.lang.String name)
name
- Name of the attribute
int GetContentLength()
java.lang.String GetAuthType()
java.lang.String GetBasicAuthUserName()
java.lang.String GetBasicAuthPassword()
java.lang.String GetClientAddress()
java.lang.String GetContentType()
XPInputStream GetInputStream()
XPCookie[] GetCookies()
java.lang.String GetHeader(java.lang.String name)
name
- Name of the HTTP header. For e.g. HTTP_USER_AGENT
IXPEnumerator GetHeaderNames()
IXPEnumerator GetLocales()
java.lang.String GetMethod()
IXPEnumerator GetParameterNames()
java.lang.String GetParameterValue(java.lang.String name)
name
- Name of the parameter
java.lang.String[] GetParameterValues(java.lang.String name)
name
- Name of the parameter
boolean IsSecureConnection()
java.lang.String GetQueryString()
java.lang.String GetRequestedSessionId()
java.lang.String GetRequestURI()
java.lang.String GetRequestURL()
java.lang.String GetRemoteUser()
java.lang.String GetScheme()
java.lang.String GetServerName()
int GetServerPort()
java.lang.String GetServerVariable(java.lang.String name)
name
- Name of the
IXPEnumerator GetServerVariableNames()
XPSession GetSession()
void SetAttribute(java.lang.String name, java.lang.Object _value)
name
- Name of the attribute_value
- Object value of the attributebyte[] GetBytes()
java.lang.String GetCompletePath()
java.lang.String GetRemoteFilePath()
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.void ParseRequest()
java.io.IOException
- if it can't parse the request.void ClearUnderlyingObject()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |