Package | Description |
---|---|
javax.faces.webapp |
Classes required for integration of
JavaServer Faces into web applications, including a standard servlet,
base classes for JSP custom component
tags, and concrete tag implementations for core tags.
|
javax.servlet |
The javax.servlet package contains a number of classes and interfaces that
describe and define the contracts between a servlet class and the
runtime environment provided for an instance of such a class by a
conforming servlet container.
|
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.
|
javax.servlet.jsp |
Classes and interfaces for the Core JSP 2.3 API.
|
javax.servlet.jsp.jstl.core |
Classes and interfaces related to the core tag library component of the JavaServer Pages Standard Tag Library (JSTL).
|
Modifier and Type | Method and Description |
---|---|
void |
FacesServlet.service(ServletRequest req,
ServletResponse resp)
Process an incoming request, and create the corresponding response according to the following specification. |
Modifier and Type | Class and Description |
---|---|
class |
ServletRequestWrapper
Provides a convenient implementation of the ServletRequest interface that
can be subclassed by developers wishing to adapt the request to a Servlet.
|
Modifier and Type | Method and Description |
---|---|
ServletRequest |
ServletRequestWrapper.getRequest()
Return the wrapped request object.
|
ServletRequest |
AsyncContext.getRequest()
Gets the request that was used to initialize this AsyncContext
by calling
startAsync() or
startAsync(ServletRequest, ServletResponse) . |
ServletRequest |
ServletRequestEvent.getServletRequest()
Returns the ServletRequest that is changing.
|
ServletRequest |
AsyncEvent.getSuppliedRequest()
Gets the ServletRequest from this AsyncEvent.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncContext.addListener(AsyncListener listener,
ServletRequest servletRequest,
ServletResponse servletResponse)
Registers the given
AsyncListener with the most recent
asynchronous cycle that was started by a call to one of the
startAsync() methods. |
void |
FilterChain.doFilter(ServletRequest request,
ServletResponse response)
Causes the next filter in the chain to be invoked, or if the calling filter is the last filter
in the chain, causes the resource at the end of the chain to be invoked.
|
void |
Filter.doFilter(ServletRequest request,
ServletResponse response,
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. |
void |
RequestDispatcher.forward(ServletRequest request,
ServletResponse response)
Forwards a request from
a servlet to another resource (servlet, JSP file, or
HTML file) on the server.
|
void |
RequestDispatcher.include(ServletRequest request,
ServletResponse response)
Includes the content of a resource (servlet, JSP page,
HTML file) in the response.
|
boolean |
ServletRequestWrapper.isWrapperFor(ServletRequest wrapped)
Checks (recursively) if this ServletRequestWrapper wraps the given
ServletRequest instance. |
void |
Servlet.service(ServletRequest req,
ServletResponse res)
Called by the servlet container to allow the servlet to respond to
a request.
|
abstract void |
GenericServlet.service(ServletRequest req,
ServletResponse res)
Called by the servlet container to allow the servlet to respond to
a request.
|
void |
ServletRequestWrapper.setRequest(ServletRequest request)
Sets the request object being wrapped.
|
AsyncContext |
ServletRequestWrapper.startAsync(ServletRequest servletRequest,
ServletResponse servletResponse)
The default behavior of this method is to invoke
startAsync(ServletRequest, ServletResponse)
on the wrapped request object. |
AsyncContext |
ServletRequest.startAsync(ServletRequest servletRequest,
ServletResponse servletResponse)
Puts this request into asynchronous mode, and initializes its
AsyncContext with the given request and response objects. |
Constructor and Description |
---|
AsyncEvent(AsyncContext context,
ServletRequest request,
ServletResponse response)
Constructs an AsyncEvent from the given AsyncContext, ServletRequest,
and ServletResponse.
|
AsyncEvent(AsyncContext context,
ServletRequest request,
ServletResponse response,
Throwable throwable)
Constructs an AsyncEvent from the given AsyncContext, ServletRequest,
ServletResponse, and Throwable.
|
ServletRequestAttributeEvent(ServletContext sc,
ServletRequest request,
String name,
Object value)
Construct a ServletRequestAttributeEvent giving the servlet context
of this web application, the ServletRequest whose attributes are
changing and the name and value of the attribute.
|
ServletRequestEvent(ServletContext sc,
ServletRequest request)
Construct a ServletRequestEvent for the given ServletContext
and ServletRequest.
|
ServletRequestWrapper(ServletRequest request)
Creates a ServletRequest adaptor wrapping the given request object.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HttpServletRequest
Extends the
ServletRequest interface
to provide request information for HTTP servlets. |
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 |
---|---|
void |
HttpServlet.service(ServletRequest req,
ServletResponse res)
Dispatches client requests to the protected
service method. |
Modifier and Type | Method and Description |
---|---|
abstract ServletRequest |
PageContext.getRequest()
The current value of the request object (a ServletRequest).
|
Modifier and Type | Method and Description |
---|---|
abstract PageContext |
JspFactory.getPageContext(Servlet servlet,
ServletRequest request,
ServletResponse response,
String errorPageURL,
boolean needsSession,
int buffer,
boolean autoflush)
obtains an instance of an implementation dependent
javax.servlet.jsp.PageContext abstract class for the calling Servlet
and currently pending request and response.
|
abstract void |
PageContext.initialize(Servlet servlet,
ServletRequest request,
ServletResponse response,
String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush)
The initialize method is called to initialize an uninitialized PageContext
so that it may be used by a JSP Implementation class to service an
incoming request and response within it's _jspService() method.
|
Modifier and Type | Method and Description |
---|---|
static Object |
Config.get(ServletRequest request,
String name)
Looks up a configuration variable in the "request" scope.
|
static void |
Config.remove(ServletRequest request,
String name)
Removes a configuration variable from the "request" scope.
|
static void |
Config.set(ServletRequest request,
String name,
Object value)
Sets the value of a configuration variable in the "request" scope.
|
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.