|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portaluiinfrastructure.condition.XPLimitedRequest
public class XPLimitedRequest
Wrapper class for the XPRequest in the openfoundation jar. This class does everything except for certain methods which reads the body of the request and causes the gateway to fail.
Constructor Summary | |
---|---|
XPLimitedRequest(IXPRequest xpRealRequest)
Constructor - Creates an XPLimitedRequest wrapper object around xpRealRequest which must implement the IXPRequest Interface. |
Method Summary | |
---|---|
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. |
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 |
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 |
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 |
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. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPLimitedRequest(IXPRequest xpRealRequest)
xpRealRequest
- Method Detail |
---|
public java.lang.Object GetAttribute(java.lang.String name)
name
- Name of the attribute
com.plumtree.openfoundation.web.IXPRequest#GetAttribute(java.lang.String)
public int GetContentLength()
com.plumtree.openfoundation.web.IXPRequest#GetContentLength()
public java.lang.String GetAuthType()
com.plumtree.openfoundation.web.IXPRequest#GetAuthType()
public java.lang.String GetBasicAuthUserName()
com.plumtree.openfoundation.web.IXPRequest#GetBasicAuthUserName()
public java.lang.String GetBasicAuthPassword()
com.plumtree.openfoundation.web.IXPRequest#GetBasicAuthPassword()
public java.lang.String GetClientAddress()
com.plumtree.openfoundation.web.IXPRequest#GetClientAddress()
public java.lang.String GetContentType()
com.plumtree.openfoundation.web.IXPRequest#GetContentType()
public java.lang.String GetHeader(java.lang.String name)
name
- Name of the HTTP header. For e.g. HTTP_USER_AGENT
com.plumtree.openfoundation.web.IXPRequest#GetHeader(java.lang.String)
public IXPEnumerator GetHeaderNames()
com.plumtree.openfoundation.web.IXPRequest#GetHeaderNames()
public IXPEnumerator GetLocales()
com.plumtree.openfoundation.web.IXPRequest#GetLocales()
public java.lang.String GetMethod()
com.plumtree.openfoundation.web.IXPRequest#GetMethod()
public boolean IsSecureConnection()
com.plumtree.openfoundation.web.IXPRequest#IsSecureConnection()
public java.lang.String GetQueryString()
com.plumtree.openfoundation.web.IXPRequest#GetQueryString()
public java.lang.String GetRequestedSessionId()
com.plumtree.openfoundation.web.IXPRequest#GetRequestedSessionId()
public java.lang.String GetRequestURI()
com.plumtree.openfoundation.web.IXPRequest#GetRequestURI()
public java.lang.String GetRequestURL()
com.plumtree.openfoundation.web.IXPRequest#GetRequestURL()
public java.lang.String GetRemoteUser()
com.plumtree.openfoundation.web.IXPRequest#GetRemoteUser()
public java.lang.String GetScheme()
com.plumtree.openfoundation.web.IXPRequest#GetScheme()
public java.lang.String GetServerName()
com.plumtree.openfoundation.web.IXPRequest#GetServerName()
public int GetServerPort()
com.plumtree.openfoundation.web.IXPRequest#GetServerPort()
public XPSession GetSession()
com.plumtree.openfoundation.web.IXPRequest#GetSession()
public java.lang.String GetCompletePath()
com.plumtree.openfoundation.web.IXPRequest#GetCompletePath()
public java.lang.String GetRemoteFilePath()
com.plumtree.openfoundation.web.IXPRequest#GetRemoteFilePath()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |