org.eclipse.jetty.ajp
类 Ajp13Request

java.lang.Object
  继承者 org.eclipse.jetty.server.Request
      继承者 org.eclipse.jetty.ajp.Ajp13Request
所有已实现的接口:
HttpServletRequest, ServletRequest

public class Ajp13Request
extends Request


嵌套类摘要
 
从类 org.eclipse.jetty.server.Request 继承的嵌套类/接口
Request.MultiPartCleanerListener
 
字段摘要
protected  String _remoteAddr
           
protected  String _remoteHost
           
protected  String _remoteUser
           
protected  boolean _sslSecure
           
 
从类 org.eclipse.jetty.server.Request 继承的字段
__MULTIPART_CONFIG_ELEMENT, __MULTIPART_CONTEXT, __MULTIPART_INPUT_STREAM, _async, _connection
 
从接口 javax.servlet.http.HttpServletRequest 继承的字段
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
构造方法摘要
Ajp13Request()
           
Ajp13Request(AbstractHttpConnection connection)
           
 
方法摘要
 String getRemoteAddr()
          Returns the Internet Protocol (IP) address of the client or last proxy that sent the request.
 String getRemoteHost()
          Returns the fully qualified name of the client or the last proxy that sent the request.
 String getRemoteUser()
          Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated.
 boolean isSslSecure()
           
protected  void recycle()
           
 void setRemoteAddr(String remoteAddr)
           
 void setRemoteHost(String remoteHost)
           
 void setRemoteUser(String remoteUser)
           
 void setSslSecure(boolean sslSecure)
           
 
从类 org.eclipse.jetty.server.Request 继承的方法
addEventListener, authenticate, 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, getPart, getParts, 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, login, logout, 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
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

_remoteAddr

protected String _remoteAddr

_remoteHost

protected String _remoteHost

_remoteUser

protected String _remoteUser

_sslSecure

protected boolean _sslSecure
构造方法详细信息

Ajp13Request

public Ajp13Request(AbstractHttpConnection connection)

Ajp13Request

public Ajp13Request()
方法详细信息

setRemoteUser

public void setRemoteUser(String remoteUser)

getRemoteUser

public String getRemoteUser()
从接口 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.

指定者:
接口 HttpServletRequest 中的 getRemoteUser
覆盖:
Request 中的 getRemoteUser
返回:
a String specifying the login of the user making this request, or null if the user login is not known

getRemoteAddr

public String getRemoteAddr()
从接口 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.

指定者:
接口 ServletRequest 中的 getRemoteAddr
覆盖:
Request 中的 getRemoteAddr
返回:
a String containing the IP address of the client that sent the request

setRemoteAddr

public void setRemoteAddr(String remoteAddr)
覆盖:
Request 中的 setRemoteAddr
参数:
remoteAddr - The address to set.

getRemoteHost

public String getRemoteHost()
从接口 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.

指定者:
接口 ServletRequest 中的 getRemoteHost
覆盖:
Request 中的 getRemoteHost
返回:
a String containing the fully qualified name of the client

setRemoteHost

public void setRemoteHost(String remoteHost)
覆盖:
Request 中的 setRemoteHost
参数:
remoteHost - The host to set.

isSslSecure

public boolean isSslSecure()

setSslSecure

public void setSslSecure(boolean sslSecure)

recycle

protected void recycle()
覆盖:
Request 中的 recycle


Copyright © 2013. All Rights Reserved.