|
Enhydra 3.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.lutris.appserver.server.jolt.joltpo.JoltRequest
HTTP arguments, cookies and other headers from the request.
Constructor Summary | |
protected |
JoltRequest(HttpPresentationRequest httpRequest,
java.util.Hashtable queryTable)
Construct a request object. |
Method Summary | |
java.lang.String |
getAppFileURIPath(java.lang.String file)
Get the URI path for a file in the application. |
java.lang.String |
getApplicationPath()
|
java.lang.String |
getAuthType()
Returns the authentication scheme of the request, or null if none. |
int |
getContentLength()
Returns the size of the request entity data, or -1 if not known. |
java.lang.String |
getContentType()
|
Cookie[] |
getCookies()
Gets the array of cookies found in this request. |
long |
getDateHeader(java.lang.String name)
Returns the value of a date header field, or -1 if not found. |
java.lang.String |
getHeader(java.lang.String name)
Returns the value of a header field, or null if not known. |
java.util.Enumeration |
getHeaderNames()
Returns an enumeration of strings representing the header names for this request. |
int |
getIntHeader(java.lang.String name)
Returns the value of an integer header field, or -1 if not found. |
java.lang.String |
getMethod()
Returns the method with which the request was made. |
java.lang.String |
getParameter(java.lang.String name)
Returns a string containing the lone value of the specified query parameter, or null if the parameter does not exist. |
java.util.Enumeration |
getParameterNames()
Returns the values of the specified query parameter for the request as an array of strings, or a 0 length array if the named parameter does not exist. |
java.lang.String[] |
getParameterValues(java.lang.String name)
Returns the values of the specified query parameter for the request as an array of strings, or a 0 length array if the named parameter does not exist. |
java.lang.String |
getPathInfo()
Returns optional extra path information following the presentation path, but immediately preceding the query string. |
java.lang.String |
getPathTranslated()
Returns extra path information translated to a real path. |
java.lang.String |
getPresentationObjectPath()
Returns the part of the request URI that refers to the presentation object being invoked. |
java.lang.String |
getPresentationPath()
Deprecated. This method was named in a confusing manner; it returns the application, not presentation object path. Use getApplicationPath(). |
java.lang.String |
getQueryString()
Returns the query string part of the presentation URI, or null if none. |
java.lang.String |
getRemoteAddr()
Returns the IP address of the agent that sent the request. |
java.lang.String |
getRemoteHost()
Returns the fully qualified host name of the agent that sent the request. |
java.lang.String |
getRemoteUser()
Returns the name of the user making this request, or null if not known. |
java.lang.String |
getRequestURI()
Returns the request URI as a URL object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
protected JoltRequest(HttpPresentationRequest httpRequest, java.util.Hashtable queryTable)
request
- HTTP request information, headers and input stream.queryTable
- Hash table of named query strings.Method Detail |
public int getContentLength() throws HttpPresentationException
public java.lang.String getContentType() throws HttpPresentationException
public java.lang.String getRemoteAddr() throws HttpPresentationException
public java.lang.String getRemoteHost() throws HttpPresentationException
public java.lang.String getParameter(java.lang.String name) throws HttpPresentationException
name
- the name of the parameter whose value is required.public java.lang.String[] getParameterValues(java.lang.String name) throws HttpPresentationException
name
- the name of the parameter whose value is required.public java.util.Enumeration getParameterNames() throws HttpPresentationException
public java.lang.String getMethod() throws HttpPresentationException
public java.lang.String getRequestURI() throws HttpPresentationException
public java.lang.String getPresentationPath() throws HttpPresentationException
public java.lang.String getPresentationObjectPath() throws HttpPresentationException
public java.lang.String getApplicationPath() throws HttpPresentationException
public java.lang.String getPathInfo() throws HttpPresentationException
public java.lang.String getPathTranslated() throws HttpPresentationException
public java.lang.String getQueryString() throws HttpPresentationException
public java.lang.String getRemoteUser() throws HttpPresentationException
public java.lang.String getAuthType() throws HttpPresentationException
public Cookie[] getCookies() throws HttpPresentationException
public java.lang.String getHeader(java.lang.String name) throws HttpPresentationException
name
- the case-insensitive header field namepublic int getIntHeader(java.lang.String name) throws HttpPresentationException
name
- the case-insensitive header field namepublic long getDateHeader(java.lang.String name) throws HttpPresentationException
name
- the case-insensitive header field namepublic java.util.Enumeration getHeaderNames() throws HttpPresentationException
public java.lang.String getAppFileURIPath(java.lang.String file) throws HttpPresentationException
file
- File with in the application. Currently this must
be a path relative to the presentation prefix./
.
|
Enhydra 3.1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |