| org.apache.openejb.server.httpd.HttpRequest
All known Subclasses: org.apache.openejb.server.httpd.ServletRequestAdapter, org.apache.openejb.server.httpd.HttpRequestImpl, org.apache.openejb.server.axis2.Axis2Request, org.apache.openejb.server.axis.AxisRequest,
HttpRequest | public interface HttpRequest extends java.io.Serializable(Code) | | An interface to take care of HTTP Requests. It parses headers, content, form and url
parameters.
|
Inner Class :public static enum Method | |
HEADER_ACCEPT | final public static String HEADER_ACCEPT(Code) | | the Accept header
|
HEADER_ACCEPT_ENCODING | final public static String HEADER_ACCEPT_ENCODING(Code) | | the Accept-Encoding header
|
HEADER_ACCEPT_LANGUAGE | final public static String HEADER_ACCEPT_LANGUAGE(Code) | | the Accept-Language header
|
HEADER_CACHE_CONTROL | final public static String HEADER_CACHE_CONTROL(Code) | | the Cache-Control header
|
HEADER_CONNECTION | final public static String HEADER_CONNECTION(Code) | | the Connection header
|
HEADER_CONTENT_LENGTH | final public static String HEADER_CONTENT_LENGTH(Code) | | the Content-Length header
|
HEADER_CONTENT_TYPE | final public static String HEADER_CONTENT_TYPE(Code) | | the Content-Type header
|
HEADER_COOKIE | final public static String HEADER_COOKIE(Code) | | the Cookie header
|
HEADER_HOST | final public static String HEADER_HOST(Code) | | the Host header
|
HEADER_SET_COOKIE | final public static String HEADER_SET_COOKIE(Code) | | the Set-Cookie header
|
HEADER_USER_AGENT | final public static String HEADER_USER_AGENT(Code) | | the User-Agent header
|
SERVLET_CONTEXT | final public static String SERVLET_CONTEXT(Code) | | If the https server implementation is based on Servlets, the real ServletContext
will be registered in the request attributes using this name. Note: a ServletContext
may not be registered even if HttpServletRequest and HttpServletResponse objects are
registered.
|
SERVLET_REQUEST | final public static String SERVLET_REQUEST(Code) | | If the https server implementation is based on Servlets, the real HttpServletRequest
will be registered in the request attributes using this name.
|
SERVLET_RESPONSE | final public static String SERVLET_RESPONSE(Code) | | If the https server implementation is based on Servlets, the real HttpServletResponse
will be registered in the request attributes using this name.
|
getContentLength | int getContentLength()(Code) | | |
getHeader | public String getHeader(String name)(Code) | | Gets a header based the header name passed in.
Parameters: name - The name of the header to get The value of the header |
getMethod | public Method getMethod()(Code) | | Gets an integer value of the request method.
The integer value of the method |
getParameter | String getParameter(String name)(Code) | | Gets a form or URL query parameter based on the name passed in.
Parameters: name - |
getParameters | Map getParameters()(Code) | | Gets all the form and URL query parameters
All the form and URL query parameters |
getSession | public HttpSession getSession(boolean create)(Code) | | Returns the current HttpSession associated with this
request or, if there is no current session and create is
true, returns a new session.
If create is false and the request has no
valid HttpSession , this method returns null .
Parameters: create - true to create a new session for this requestif necessary; false to return null if there'sno current session the HttpSession associated with this request ornull if create is false and therequest has no valid session See Also: HttpRequest.getSession() |
getSession | public HttpSession getSession()(Code) | | Returns the current session associated with this request, or if the
request does not have a session, creates one.
the HttpSession associated with this request See Also: HttpRequest.getSession(boolean) |
|
|