|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.taglibs.request.RequestData
Stores the scripting variable data provided by the JSP Tag request, used to access HttpServletRequest information using the standard JSP <jsp:getProperty> tag.
The script variable of name id is available for use during processing of the remainder of the JSP page.
RequestTag
Method Summary | |
java.lang.String |
getAuthType()
Returns the name of the authentication scheme used to protect the servlet. |
java.lang.String |
getCharacterEncoding()
Returns the name of the character encoding used in the body of this request. |
java.lang.String |
getContentLength()
Returns the length, in bytes, of the request body and made available by the input stream, or -1 if the length is not known. |
java.lang.String |
getContentType()
Returns the MIME type of the body of the request, or null if the type is not known. |
java.lang.String |
getContextPath()
Returns the portion of the request URI that indicates the context of the request. |
java.lang.String |
getMethod()
Returns the name of the HTTP method with which this request was made. |
java.lang.String |
getPathInfo()
Returns any extra path information associated with the URL the client sent when it made this request. |
java.lang.String |
getPathTranslated()
Returns any extra path information after the servlet name but before the query string, and translates it to a real path. |
java.lang.String |
getProtocol()
Returns the name and version of the protocol the request uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1. |
java.lang.String |
getQueryString()
Returns the query string that is contained in the request URL after the path. |
java.lang.String |
getRemoteAddr()
Returns the Internet Protocol (IP) address of the client that sent the request. |
java.lang.String |
getRemoteHost()
Returns the fully qualified name of the client that sent the request, or the IP address of the client if the name cannot be determined. |
java.lang.String |
getRemoteUser()
Returns the login of the user making this request, if the user has been authenticated, or "" if the user has not been authenticated. |
java.lang.String |
getRequestedSessionId()
Returns the session ID specified by the client. |
java.lang.String |
getRequestURI()
Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request. |
java.lang.String |
getRequestURL()
Returns the request URL up to the query string in the first line of the HTTP request. |
java.lang.String |
getScheme()
Returns the name of the scheme used to make this request, for example, http, https, or ftp. |
java.lang.String |
getServerName()
Returns the host name of the server that received the request. |
java.lang.String |
getServerPort()
Returns the port number on which this request was received. |
java.lang.String |
getServletPath()
Returns the part of this request's URL that calls the servlet. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public final java.lang.String getAuthType()
<jsp:getProperty name="id" property="authType"/>
public final java.lang.String getContextPath()
<jsp:getProperty name="id" property="contextPath"/>
public final java.lang.String getMethod()
<jsp:getProperty name="id" property="method"/>
public final java.lang.String getPathInfo()
<jsp:getProperty name="id" property="pathInfo"/>
public final java.lang.String getPathTranslated()
<jsp:getProperty name="id" property="pathTranslated"/>
public final java.lang.String getQueryString()
<jsp:getProperty name="id" property="queryString"/>
public final java.lang.String getRemoteUser()
<jsp:getProperty name="id" property="remoteUser"/>
public final java.lang.String getRequestedSessionId()
<jsp:getProperty name="id" property="requestedSessionId"/>
public final java.lang.String getRequestURI()
<jsp:getProperty name="id" property="requestURI"/>
public final java.lang.String getRequestURL()
<jsp:getProperty name="id" property="requestURL"/>
public final java.lang.String getServletPath()
<jsp:getProperty name="id" property="servletPath"/>
public final java.lang.String getCharacterEncoding()
<jsp:getProperty name="id" property="characterEncoding"/>
public final java.lang.String getContentLength()
<jsp:getProperty name="id" property="contentLength"/>
public final java.lang.String getContentType()
<jsp:getProperty name="id" property="contentType"/>
public final java.lang.String getProtocol()
<jsp:getProperty name="id" property="protocol"/>
public final java.lang.String getRemoteAddr()
<jsp:getProperty name="id" property="remoteAddr"/>
public final java.lang.String getRemoteHost()
<jsp:getProperty name="id" property="remoteHost"/>
public final java.lang.String getScheme()
<jsp:getProperty name="id" property="scheme"/>
public final java.lang.String getServerName()
<jsp:getProperty name="id" property="serverName"/>
public final java.lang.String getServerPort()
<jsp:getProperty name="id" property="serverPort"/>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |