org.eclipse.jetty.ajp
Class Ajp13Request
java.lang.Object
org.eclipse.jetty.server.Request
org.eclipse.jetty.ajp.Ajp13Request
- All Implemented Interfaces:
- HttpServletRequest, ServletRequest
public class Ajp13Request
- extends Request
| Methods inherited from class org.eclipse.jetty.server.Request |
addEventListener, extractParameters, getAsyncContext, getAsyncContinuation, getAttribute, getAttributeNames, getAttributes, getAuthentication, getAuthType, getCharacterEncoding, getConnection, getContentLength, getContentRead, getContentType, getContext, getContextPath, getCookies, getDateHeader, getDispatcherType, getDispatchTime, getHeader, getHeaderNames, getHeaders, getInputState, getInputStream, getIntHeader, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getMethod, getParameter, getParameterMap, getParameterNames, getParameters, getParameterValues, getPathInfo, getPathTranslated, getProtocol, getQueryEncoding, getQueryString, getReader, getRealPath, getRemotePort, getRequest, getRequestDispatcher, getRequestedSessionId, getRequestURI, getRequestURL, getResolvedUserIdentity, getResponse, getRootURL, getScheme, getServerName, getServerPort, getServletContext, getServletName, getServletPath, getServletResponse, getSession, getSession, getSessionManager, getTimeStamp, getTimeStampBuffer, getUri, getUserIdentity, getUserIdentityScope, getUserPrincipal, isAsyncStarted, isAsyncSupported, isHandled, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isUserInRole, mergeQueryString, recoverNewSession, removeAttribute, removeEventListener, saveNewSession, setAsyncSupported, setAttribute, setAttributes, setAuthentication, setCharacterEncoding, setCharacterEncodingUnchecked, setConnection, setContentType, setContext, setContextPath, setCookies, setDispatcherType, setDispatchTime, setHandled, setMethod, setParameters, setPathInfo, setProtocol, setQueryEncoding, setQueryString, setRequestedSessionId, setRequestedSessionIdFromCookie, setRequestURI, setScheme, setServerName, setServerPort, setServletPath, setSession, setSessionManager, setTimeStamp, setUri, setUserIdentityScope, startAsync, startAsync, takeNewContext, toString |
_remoteAddr
protected String _remoteAddr
_remoteHost
protected String _remoteHost
_remoteUser
protected String _remoteUser
_sslSecure
protected boolean _sslSecure
Ajp13Request
public Ajp13Request(HttpConnection connection)
Ajp13Request
public Ajp13Request()
setRemoteUser
public void setRemoteUser(String remoteUser)
getRemoteUser
public String getRemoteUser()
- Description copied from interface:
HttpServletRequest
- Returns the login of the user making this request, if the
user has been authenticated, or
null if the user
has not been authenticated.
Whether the user name is sent with each subsequent request
depends on the browser and type of authentication. Same as the
value of the CGI variable REMOTE_USER.
- Specified by:
getRemoteUser in interface HttpServletRequest- Overrides:
getRemoteUser in class Request
- Returns:
- a
String specifying the login
of the user making this request, or null
if the user login is not known
getRemoteAddr
public String getRemoteAddr()
- Description copied from interface:
ServletRequest
- Returns the Internet Protocol (IP) address of the client
or last proxy that sent the request.
For HTTP servlets, same as the value of the
CGI variable
REMOTE_ADDR.
- Specified by:
getRemoteAddr in interface ServletRequest- Overrides:
getRemoteAddr in class Request
- Returns:
- a
String containing the
IP address of the client that sent the request
setRemoteAddr
public void setRemoteAddr(String remoteAddr)
- Overrides:
setRemoteAddr in class Request
- Parameters:
remoteAddr - The address to set.
getRemoteHost
public String getRemoteHost()
- Description copied from interface:
ServletRequest
- Returns the fully qualified name of the client
or the last proxy that sent the request.
If the engine cannot or chooses not to resolve the hostname
(to improve performance), this method returns the dotted-string form of
the IP address. For HTTP servlets, same as the value of the CGI variable
REMOTE_HOST.
- Specified by:
getRemoteHost in interface ServletRequest- Overrides:
getRemoteHost in class Request
- Returns:
- a
String containing the fully
qualified name of the client
setRemoteHost
public void setRemoteHost(String remoteHost)
- Overrides:
setRemoteHost in class Request
- Parameters:
remoteHost - The host to set.
isSslSecure
public boolean isSslSecure()
setSslSecure
public void setSslSecure(boolean sslSecure)
recycle
protected void recycle()
- Overrides:
recycle in class Request
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.