org.norther.tammi.spray.remote.chain
Class HttpRMIRequest
java.lang.Object
javax.servlet.ServletRequestWrapper
org.norther.tammi.spray.filter.chain.ServletRequestWrapper
org.norther.tammi.spray.filter.chain.HttpServletRequestWrapper
org.norther.tammi.spray.protocol.chain.AbstractProtocolRequest
org.norther.tammi.spray.protocol.chain.BaseProtocolRequest
org.norther.tammi.spray.protocol.chain.HttpProtocolRequest
org.norther.tammi.spray.remote.chain.HttpRMIRequest
- All Implemented Interfaces:
- EventListener, HttpServletRequest, ServletRequest, Poolable, Recyclable, FilterChainListener
public class HttpRMIRequest
- extends HttpProtocolRequest
An HTTP request through an RMI connection.
- Author:
- Ilkka Priha
| Methods inherited from class org.norther.tammi.spray.protocol.chain.HttpProtocolRequest |
drain, filtered, getAttribute, getAuthType, getContextPath, getInputStream, getMaxRequestLength, getParsedRequestURI, getPathInfo, getPathTranslated, getReader, getRemoteAddr, getRemoteUser, getRequestedSessionId, getServerPort, getSession, getSession, getUserPrincipal, isRedirection, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isSecureSession, isUserInRole, setMaxRequestLength |
| Methods inherited from class org.norther.tammi.spray.protocol.chain.BaseProtocolRequest |
getCharacterEncoding, getContentLength, getContentType, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getLocale, getLocales, getMethod, getProtocol, getQueryString, getRequestDispatcher, getRequestURI, getRequestURL, getServerName, getServletPath |
| Methods inherited from class org.norther.tammi.spray.protocol.chain.AbstractProtocolRequest |
addParameter, addParameter, addParameterMap, getAuthorityURL, getAuthorityURL, getAuthorityURL, getHttpFilter, getInternalCharacterEncoding, getParameter, getParameterMap, getParameterNames, getParameterValues, getPathTail, getRedirectionURL, getVersion, isAuthentication, removeParameter, setAuthentication, setParameter, setRedirection, setRedirectionURL |
| Methods inherited from class javax.servlet.ServletRequestWrapper |
getAttributeNames, getLocalAddr, getLocalName, getLocalPort, getRealPath, getRemoteHost, getRemotePort, getRequest, getScheme, removeAttribute, setAttribute, setCharacterEncoding |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.http.HttpServletRequest |
getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getQueryString, getRequestURI, getRequestURL, getServletPath |
| Methods inherited from interface javax.servlet.ServletRequest |
getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, removeAttribute, setAttribute, setCharacterEncoding |
HttpRMIRequest
public HttpRMIRequest(String method,
String uri,
String protocol,
Map heads,
Map params)
- Constructs a new request.
- Parameters:
method - the method.uri - the URI.protocol - the protocol.heads - the headers.params - the parameters.
recycle
public void recycle(String method,
String uri,
String protocol,
Map heads,
Map params)
- Recycles an existing request.
- Parameters:
method - the method.uri - the URI.protocol - the protocol.heads - the headers.params - the parameters.
dispose
public void dispose()
- Description copied from interface:
Recyclable
- Disposes the object after use. The method is called when the object is
returned to its pool. The dispose method must call its super.
- Specified by:
dispose in interface Recyclable- Overrides:
dispose in class HttpProtocolRequest
disposed
public void disposed()
- Description copied from interface:
Poolable
- A call back indicating that this instance is not needed any more and can
be disposed.
- Specified by:
disposed in interface Poolable- Overrides:
disposed in class ServletRequestWrapper
setConnection
public void setConnection(Connection con)
- Sets the connection.
- Parameters:
con - the connection.
getParsedRequestList
protected List getParsedRequestList()
- Description copied from class:
BaseProtocolRequest
- Gets the parsed request as a list of items.
- Overrides:
getParsedRequestList in class HttpProtocolRequest
- Returns:
- the parsed request as a list.
getParsedHeaderMap
protected Map getParsedHeaderMap()
- Description copied from class:
BaseProtocolRequest
- Gets the parsed HTTP headers as a map of names and value vectors.
- Overrides:
getParsedHeaderMap in class HttpProtocolRequest
- Returns:
- the parsed headers as a map.
getParsedParameterMap
protected Map getParsedParameterMap()
- Description copied from class:
AbstractProtocolRequest
- Gets the parsed parameters as a map of names and value arrays.
- Overrides:
getParsedParameterMap in class HttpProtocolRequest
- Returns:
- the parsed parameters as a map.
Copyright © 2004 The Norther Organization. All rights reserved.