@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,String[]> |
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()
AtomRequest
getPathInfo
in interface AtomRequest
public String getQueryString()
AtomRequest
getQueryString
in interface AtomRequest
public String getRemoteUser()
AtomRequest
getRemoteUser
in interface AtomRequest
public boolean isUserInRole(String arg0)
AtomRequest
isUserInRole
in interface AtomRequest
public Principal getUserPrincipal()
AtomRequest
getUserPrincipal
in interface AtomRequest
public String getRequestURI()
AtomRequest
getRequestURI
in interface AtomRequest
public StringBuffer getRequestURL()
AtomRequest
getRequestURL
in interface AtomRequest
public int getContentLength()
AtomRequest
getContentLength
in interface AtomRequest
public String getContentType()
AtomRequest
getContentType
in interface AtomRequest
public String getParameter(String arg0)
AtomRequest
getParameter
in interface AtomRequest
public Enumeration<String> getParameterNames()
AtomRequest
getParameterNames
in interface AtomRequest
public String[] getParameterValues(String arg0)
AtomRequest
getParameterValues
in interface AtomRequest
public Map<String,String[]> getParameterMap()
AtomRequest
getParameterMap
in interface AtomRequest
public InputStream getInputStream() throws IOException
AtomRequest
getInputStream
in interface AtomRequest
IOException
public long getDateHeader(String arg0)
AtomRequest
getDateHeader
in interface AtomRequest
public String getHeader(String arg0)
AtomRequest
getHeader
in interface AtomRequest
public Enumeration<String> getHeaders(String arg0)
AtomRequest
getHeaders
in interface AtomRequest
public Enumeration<String> getHeaderNames()
AtomRequest
getHeaderNames
in interface AtomRequest
public int getIntHeader(String arg0)
AtomRequest
getIntHeader
in interface AtomRequest
Copyright © 2019. All rights reserved.