| Package | Description |
|---|---|
| javax.servlet | |
| javax.servlet.http | |
| javax.servlet.jsp |
| Modifier and Type | Class and Description |
|---|---|
class |
ServletResponseWrapper
Wraps a servlet response in another response.
|
| Modifier and Type | Method and Description |
|---|---|
ServletResponse |
ServletResponseWrapper.getResponse()
Gets the wrapped response
|
ServletResponse |
AsyncContext.getResponse() |
ServletResponse |
AsyncEvent.getSuppliedResponse() |
| Modifier and Type | Method and Description |
|---|---|
void |
AsyncContext.addListener(AsyncListener listener,
ServletRequest request,
ServletResponse response) |
void |
FilterChain.doFilter(ServletRequest request,
ServletResponse response)
Invokes the next filter in the chain or the final servlet at
the end of the chain.
|
void |
Filter.doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
doFilter performs the actual work of a filter, either modifying
the request or the response.
|
void |
RequestDispatcher.forward(ServletRequest request,
ServletResponse response)
Forwards the request to another page.
|
void |
RequestDispatcher.include(ServletRequest request,
ServletResponse response)
Includes the result of another page.
|
boolean |
ServletResponseWrapper.isWrapperFor(ServletResponse wrapped) |
void |
Servlet.service(ServletRequest req,
ServletResponse res)
Service a request.
|
void |
ServletResponseWrapper.setResponse(ServletResponse response)
Sets the response to be wrapped.
|
AsyncContext |
ServletRequest.startAsync(ServletRequest servletRequest,
ServletResponse servletResponse)
Starts an async mode
|
AsyncContext |
ServletRequestWrapper.startAsync(ServletRequest servletRequest,
ServletResponse servletResponse)
Starts an async mode
|
| Constructor and Description |
|---|
AsyncEvent(AsyncContext context,
ServletRequest request,
ServletResponse response) |
AsyncEvent(AsyncContext context,
ServletRequest request,
ServletResponse response,
java.lang.Throwable throwable) |
ServletResponseWrapper(ServletResponse response)
Create a new ServletResponseWrapper, wrapping a specified response.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
HttpServletResponse
HttpServletResponse extends ServletResponse allowing servlets to
set the status and headers.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HttpServletResponseWrapper
Wraps a servlet request in another request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HttpServlet.service(ServletRequest request,
ServletResponse response)
Service a request.
|
void |
HttpServletResponseWrapper.setResponse(ServletResponse response)
Sets a response object.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ServletResponse |
PageContext.getResponse()
Returns the ServletResponse for the page.
|
| Modifier and Type | Method and Description |
|---|---|
abstract PageContext |
JspFactory.getPageContext(Servlet servlet,
ServletRequest request,
ServletResponse response,
java.lang.String errorPageURL,
boolean needsSession,
int buffer,
boolean autoflush) |
abstract void |
PageContext.initialize(Servlet servlet,
ServletRequest request,
ServletResponse response,
java.lang.String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush)
Internal routine to initialize the PageContext for a page.
|