@Deprecated public class AtomRequestImpl extends Object implements AtomRequest
| Constructor and Description |
|---|
AtomRequestImpl(javax.servlet.http.HttpServletRequest wrapped)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getContentLength()
Deprecated.
Returns the length, in bytes, of the request body and made available by the input stream, or
-1 if the length is not known.
|
String |
getContentType()
Deprecated.
Returns the MIME type of the body of the request, or null if the type is not known.
|
long |
getDateHeader(String arg0)
Deprecated.
Returns the value of the specified request header as a long value that represents a Date
object.
|
String |
getHeader(String arg0)
Deprecated.
Returns the value of the specified request header as a String.
|
Enumeration<String> |
getHeaderNames()
Deprecated.
Returns an enumeration of all the header names this request contains.
|
Enumeration<String> |
getHeaders(String arg0)
Deprecated.
Returns all the values of the specified request header as an Enumeration of String objects.
|
InputStream |
getInputStream()
Deprecated.
Retrieves the body of the request as binary data using a ServletInputStream.
|
int |
getIntHeader(String arg0)
Deprecated.
Returns the value of the specified request header as an int.
|
String |
getParameter(String arg0)
Deprecated.
Returns the value of a request parameter as a String, or null if the parameter does not
exist.
|
Map<String,Object> |
getParameterMap()
Deprecated.
Returns a java.util.Map of the parameters of this request.
|
Enumeration<String> |
getParameterNames()
Deprecated.
Returns an Enumeration of String objects containing the names of the parameters contained in
this request.
|
String[] |
getParameterValues(String arg0)
Deprecated.
Returns an array of String objects containing all of the values the given request parameter
has, or null if the parameter does not exist.
|
String |
getPathInfo()
Deprecated.
Returns any extra path information associated with the URL the client sent when it made this
request.
|
String |
getQueryString()
Deprecated.
Returns the query string that is contained in the request URL after the path.
|
String |
getRemoteUser()
Deprecated.
Returns the login of the user making this request, if the user has been authenticated, or
null if the user has not been authenticated.
|
String |
getRequestURI()
Deprecated.
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.
|
StringBuffer |
getRequestURL()
Deprecated.
Reconstructs the URL the client used to make the request.
|
Principal |
getUserPrincipal()
Deprecated.
Returns a java.security.Principal object containing the name of the current authenticated
user.
|
boolean |
isUserInRole(String arg0)
Deprecated.
Returns a boolean indicating whether the authenticated user is included in the specified
logical "role".
|
public AtomRequestImpl(javax.servlet.http.HttpServletRequest wrapped)
public String getPathInfo()
AtomRequestgetPathInfo in interface AtomRequestpublic String getQueryString()
AtomRequestgetQueryString in interface AtomRequestpublic String getRemoteUser()
AtomRequestgetRemoteUser in interface AtomRequestpublic boolean isUserInRole(String arg0)
AtomRequestisUserInRole in interface AtomRequestpublic Principal getUserPrincipal()
AtomRequestgetUserPrincipal in interface AtomRequestpublic String getRequestURI()
AtomRequestgetRequestURI in interface AtomRequestpublic StringBuffer getRequestURL()
AtomRequestgetRequestURL in interface AtomRequestpublic int getContentLength()
AtomRequestgetContentLength in interface AtomRequestpublic String getContentType()
AtomRequestgetContentType in interface AtomRequestpublic String getParameter(String arg0)
AtomRequestgetParameter in interface AtomRequestpublic Enumeration<String> getParameterNames()
AtomRequestgetParameterNames in interface AtomRequestpublic String[] getParameterValues(String arg0)
AtomRequestgetParameterValues in interface AtomRequestpublic Map<String,Object> getParameterMap()
AtomRequestgetParameterMap in interface AtomRequestpublic InputStream getInputStream() throws IOException
AtomRequestgetInputStream in interface AtomRequestIOExceptionpublic long getDateHeader(String arg0)
AtomRequestgetDateHeader in interface AtomRequestpublic String getHeader(String arg0)
AtomRequestgetHeader in interface AtomRequestpublic Enumeration<String> getHeaders(String arg0)
AtomRequestgetHeaders in interface AtomRequestpublic Enumeration<String> getHeaderNames()
AtomRequestgetHeaderNames in interface AtomRequestpublic int getIntHeader(String arg0)
AtomRequestgetIntHeader in interface AtomRequestCopyright © 2023. All rights reserved.