Package | Description |
---|---|
javax.servlet.http |
The javax.servlet.http package contains a number of classes and interfaces
that describe and define the contracts between a servlet class
running under the HTTP protocol and the runtime environment provided
for an instance of such a class by a conforming servlet container.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpServletRequestWrapper
Provides a convenient implementation of the HttpServletRequest interface
that can be subclassed by developers wishing to adapt the request to a
Servlet.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HttpServlet.doDelete(HttpServletRequest req,
HttpServletResponse resp)
Called by the server (via the
service method)
to allow a servlet to handle a DELETE request. |
protected void |
HttpFilter.doFilter(HttpServletRequest req,
HttpServletResponse res,
FilterChain chain)
The
doFilter method of the Filter is called by the
container each time a request/response pair is passed through the
chain due to a client request for a resource at the end of the chain. |
protected void |
HttpServlet.doGet(HttpServletRequest req,
HttpServletResponse resp)
Called by the server (via the
service method) to
allow a servlet to handle a GET request. |
protected void |
HttpServlet.doHead(HttpServletRequest req,
HttpServletResponse resp)
Receives an HTTP HEAD request from the protected
service method and handles the
request. |
protected void |
HttpServlet.doOptions(HttpServletRequest req,
HttpServletResponse resp)
Called by the server (via the
service method)
to allow a servlet to handle a OPTIONS request. |
protected void |
HttpServlet.doPost(HttpServletRequest req,
HttpServletResponse resp)
Called by the server (via the
service method)
to allow a servlet to handle a POST request. |
protected void |
HttpServlet.doPut(HttpServletRequest req,
HttpServletResponse resp)
Called by the server (via the
service method)
to allow a servlet to handle a PUT request. |
protected void |
HttpServlet.doTrace(HttpServletRequest req,
HttpServletResponse resp)
Called by the server (via the
service method)
to allow a servlet to handle a TRACE request. |
protected long |
HttpServlet.getLastModified(HttpServletRequest req)
Returns the time the
HttpServletRequest
object was last modified,
in milliseconds since midnight January 1, 1970 GMT. |
static StringBuffer |
HttpUtils.getRequestURL(HttpServletRequest req)
Deprecated.
Reconstructs the URL the client used to make the request,
using information in the
HttpServletRequest object. |
protected void |
HttpServlet.service(HttpServletRequest req,
HttpServletResponse resp)
Receives standard HTTP requests from the public
service method and dispatches
them to the do XXX methods defined in
this class. |
Constructor and Description |
---|
HttpServletRequestWrapper(HttpServletRequest request)
Constructs a request object wrapping the given request.
|
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.