| |
|
| de.schlund.pfixxml.PfixServletRequest
All known Subclasses: de.schlund.pfixxml.PfixServletRequestImpl,
PfixServletRequest | public interface PfixServletRequest (Code) | | |
errorHappened | public boolean errorHappened()(Code) | | Determine if any error happened.
true if error happened, else false |
getAllExceptions | public List<Exception> getAllExceptions()(Code) | | Retrieve all exceptions that happened during multipart-handling
a list containing all exceptions |
getAllRequestParams | public RequestParam[] getAllRequestParams(String name)(Code) | | Retrieve all request params according to the name parameter
Parameters: the - name used as a key an array containing all request params or null if not exists |
getContextPath | public String getContextPath()(Code) | | Retrieve the context path from the current request
the context path |
getCookies | public Cookie[] getCookies()(Code) | | Retrieve all cookies from the current request
an array containing all cookies |
getCreationTimeStamp | public long getCreationTimeStamp()(Code) | | |
getOriginalQueryString | public String getOriginalQueryString()(Code) | | Retrieve the query string from the orginal request
the query string |
getOriginalRequestURI | public String getOriginalRequestURI()(Code) | | Retrieve the request uri from the orginal request
the uri |
getOriginalScheme | public String getOriginalScheme()(Code) | | Retrieve the scheme from the orginal request
the scheme |
getOriginalServerName | public String getOriginalServerName()(Code) | | Retrieve the server name form the orginal request
the name |
getOriginalServerPort | public int getOriginalServerPort()(Code) | | Retrieve the port number from the orginal request
the port |
getPageName | public String getPageName()(Code) | | Extracts page name from pathinfo of this request.
page name for the given request or null if no page name has been specified or specified page namehas invalid scheme |
getPathInfo | public String getPathInfo()(Code) | | Retrieve the path information from the current request
the path info |
getPathTranslated | public String getPathTranslated()(Code) | | Retrieve the translated path from the current request
the translated path |
getQueryString | public String getQueryString()(Code) | | Retrieve the query string from the current request
the query string |
getRemoteAddr | public String getRemoteAddr()(Code) | | Retrieve the remote ip-address from the current request
the remote address |
getRemoteHost | public String getRemoteHost()(Code) | | Retrieve the remote host from the current request
the remote host |
getRequestParam | public RequestParam getRequestParam(String name)(Code) | | Retrieve a
RequestParam according to the name parameter
Parameters: the - name used as a key the request param or null if not exists |
getRequestParamNames | public String[] getRequestParamNames()(Code) | | Retrieve all names of all request params
an array containing all names for all request params. |
getRequestURI | public String getRequestURI()(Code) | | Retrieve the request uri from the current request
the request uri |
getRequestedSessionId | public String getRequestedSessionId()(Code) | | Retrieve the session id belonging to the current request
the session id |
getScheme | public String getScheme()(Code) | | Retrieve the scheme from the current request
the scheme |
getServerName | public String getServerName()(Code) | | Retrieve the server name from the current request
the name |
getServerPort | public int getServerPort()(Code) | | Retrieve the port number from the current request
the port number |
getServletName | public String getServletName()(Code) | | Gets the part of this request's URI that refers to the servlet being invoked.
|
getServletPath | public String getServletPath()(Code) | | Retrieve the servlet path from the current request
the servlet path |
getSession | public HttpSession getSession(boolean create)(Code) | | Retrieve the session belonging to the current request
Parameters: create - if true a new session will be created if not existsin the current request, if false the orginal session will be returned the http session |
isRequestedSessionIdValid | public boolean isRequestedSessionIdValid()(Code) | | Retrieve whether the requested session id is valid
true if valid, else false |
setLastException | public void setLastException(Throwable lastException)(Code) | | Stores the given exception -object as an attribute in the request,
under the key of
PfixServletRequest.ATTR_LASTEXCEPTION ATTR_LASTEXCEPTION .
Parameters: lastException - The value to assign lastException. |
updateRequest | public void updateRequest(HttpServletRequest req)(Code) | | Update the servlet request. After calling this method
the request data used by constructor are accesible
only by the 'getOriginal' methods.
Parameters: req - the new request |
|
|
|