|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 ServletResponse 的软件包 | |
|---|---|
| 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.1 API. |
| org.apache.jasper.runtime | |
| org.eclipse.jetty.continuation | |
| org.eclipse.jetty.http.gzip | |
| org.eclipse.jetty.nested | |
| org.eclipse.jetty.security | |
| org.eclipse.jetty.security.authentication | |
| org.eclipse.jetty.security.jaspi | |
| org.eclipse.jetty.server | |
| org.eclipse.jetty.servlet | |
| org.eclipse.jetty.servlets | |
| javax.servlet 中 ServletResponse 的使用 |
|---|
| 实现 ServletResponse 的 javax.servlet 中的类 | |
|---|---|
class |
ServletResponseWrapper
Provides a convenient implementation of the ServletResponse interface that can be subclassed by developers wishing to adapt the response from a Servlet. |
| 返回 ServletResponse 的 javax.servlet 中的方法 | |
|---|---|
ServletResponse |
ServletResponseWrapper.getResponse()
Return the wrapped ServletResponse object. |
ServletResponse |
AsyncContext.getResponse()
Gets the response that was used to initialize this AsyncContext by calling ServletRequest.startAsync() or
ServletRequest.startAsync(ServletRequest, ServletResponse). |
ServletResponse |
AsyncEvent.getSuppliedResponse()
Gets the ServletResponse from this AsyncEvent. |
| 参数类型为 ServletResponse 的 javax.servlet 中的方法 | |
|---|---|
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
ServletRequest.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 |
ServletResponseWrapper.isWrapperFor(ServletResponse wrapped)
Checks (recursively) if this ServletResponseWrapper wraps the given ServletResponse 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 |
ServletResponseWrapper.setResponse(ServletResponse response)
Sets the response being wrapped. |
AsyncContext |
ServletRequestWrapper.startAsync(ServletRequest servletRequest,
ServletResponse servletResponse)
The default behavior of this method is to invoke ServletRequest.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. |
| 参数类型为 ServletResponse 的 javax.servlet 中的构造方法 | |
|---|---|
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. |
|
ServletResponseWrapper(ServletResponse response)
Creates a ServletResponse adaptor wrapping the given response object. |
|
| javax.servlet.http 中 ServletResponse 的使用 |
|---|
| javax.servlet.http 中 ServletResponse 的子接口 | |
|---|---|
interface |
HttpServletResponse
Extends the ServletResponse interface to provide HTTP-specific
functionality in sending a response. |
| 实现 ServletResponse 的 javax.servlet.http 中的类 | |
|---|---|
class |
HttpServletResponseWrapper
Provides a convenient implementation of the HttpServletResponse interface that can be subclassed by developers wishing to adapt the response from a Servlet. |
| 参数类型为 ServletResponse 的 javax.servlet.http 中的方法 | |
|---|---|
void |
HttpServlet.service(ServletRequest req,
ServletResponse res)
Dispatches client requests to the protected service method. |
| javax.servlet.jsp 中 ServletResponse 的使用 |
|---|
| 返回 ServletResponse 的 javax.servlet.jsp 中的方法 | |
|---|---|
abstract ServletResponse |
PageContext.getResponse()
The current value of the response object (a ServletResponse). |
| 参数类型为 ServletResponse 的 javax.servlet.jsp 中的方法 | |
|---|---|
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. |
| org.apache.jasper.runtime 中 ServletResponse 的使用 |
|---|
| 实现 ServletResponse 的 org.apache.jasper.runtime 中的类 | |
|---|---|
class |
ServletResponseWrapperInclude
ServletResponseWrapper used by the JSP 'include' action. |
| 返回 ServletResponse 的 org.apache.jasper.runtime 中的方法 | |
|---|---|
ServletResponse |
PageContextImpl.getResponse()
|
ServletResponse |
JspContextWrapper.getResponse()
|
| 参数类型为 ServletResponse 的 org.apache.jasper.runtime 中的方法 | |
|---|---|
PageContext |
JspFactoryImpl.getPageContext(Servlet servlet,
ServletRequest request,
ServletResponse response,
String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoflush)
|
static void |
JspRuntimeLibrary.include(ServletRequest request,
ServletResponse response,
String relativePath,
JspWriter out,
boolean flush)
Perform a RequestDispatcher.include() operation, with optional flushing of the response beforehand. |
void |
PageContextImpl.initialize(Servlet servlet,
ServletRequest request,
ServletResponse response,
String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush)
|
void |
JspContextWrapper.initialize(Servlet servlet,
ServletRequest request,
ServletResponse response,
String errorPageURL,
boolean needsSession,
int bufferSize,
boolean autoFlush)
|
| 参数类型为 ServletResponse 的 org.apache.jasper.runtime 中的构造方法 | |
|---|---|
JspWriterImpl(ServletResponse response)
Create a buffered character-output stream that uses a default-sized output buffer. |
|
JspWriterImpl(ServletResponse response,
int sz,
boolean autoFlush)
Create a new buffered character-output stream that uses an output buffer of the given size. |
|
ServletResponseWrapperInclude(ServletResponse response,
JspWriter jspWriter)
|
|
| org.eclipse.jetty.continuation 中 ServletResponse 的使用 |
|---|
| 返回 ServletResponse 的 org.eclipse.jetty.continuation 中的方法 | |
|---|---|
ServletResponse |
Servlet3Continuation.getServletResponse()
|
ServletResponse |
Continuation.getServletResponse()
Get the suspended response. |
| 参数类型为 ServletResponse 的 org.eclipse.jetty.continuation 中的方法 | |
|---|---|
void |
ContinuationFilter.doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
|
boolean |
ContinuationFilter.FilteredContinuation.enter(ServletResponse response)
|
static Continuation |
ContinuationSupport.getContinuation(ServletRequest request,
ServletResponse response)
已过时。 use ContinuationSupport.getContinuation(ServletRequest) |
void |
Servlet3Continuation.suspend(ServletResponse response)
|
void |
Continuation.suspend(ServletResponse response)
Suspend the processing of the request and associated ServletResponse. |
| org.eclipse.jetty.http.gzip 中 ServletResponse 的使用 |
|---|
| 实现 ServletResponse 的 org.eclipse.jetty.http.gzip 中的类 | |
|---|---|
class |
CompressedResponseWrapper
|
| org.eclipse.jetty.nested 中 ServletResponse 的使用 |
|---|
| 参数类型为 ServletResponse 的 org.eclipse.jetty.nested 中的方法 | |
|---|---|
void |
NestedConnector.service(ServletRequest outerRequest,
ServletResponse outerResponse)
Service a request of the outer servlet container by passing it to the nested instance of Jetty. |
| org.eclipse.jetty.security 中 ServletResponse 的使用 |
|---|
| 参数类型为 ServletResponse 的 org.eclipse.jetty.security 中的方法 | |
|---|---|
boolean |
Authenticator.secureResponse(ServletRequest request,
ServletResponse response,
boolean mandatory,
Authentication.User validatedUser)
|
Authentication |
Authenticator.validateRequest(ServletRequest request,
ServletResponse response,
boolean mandatory)
Validate a response |
| org.eclipse.jetty.security.authentication 中 ServletResponse 的使用 |
|---|
| 实现 ServletResponse 的 org.eclipse.jetty.security.authentication 中的类 | |
|---|---|
protected static class |
FormAuthenticator.FormResponse
|
| 参数类型为 ServletResponse 的 org.eclipse.jetty.security.authentication 中的方法 | |
|---|---|
Authentication |
DeferredAuthentication.authenticate(ServletRequest request,
ServletResponse response)
|
boolean |
SpnegoAuthenticator.secureResponse(ServletRequest request,
ServletResponse response,
boolean mandatory,
Authentication.User validatedUser)
|
boolean |
FormAuthenticator.secureResponse(ServletRequest req,
ServletResponse res,
boolean mandatory,
Authentication.User validatedUser)
|
boolean |
DigestAuthenticator.secureResponse(ServletRequest req,
ServletResponse res,
boolean mandatory,
Authentication.User validatedUser)
|
boolean |
ClientCertAuthenticator.secureResponse(ServletRequest req,
ServletResponse res,
boolean mandatory,
Authentication.User validatedUser)
|
boolean |
BasicAuthenticator.secureResponse(ServletRequest req,
ServletResponse res,
boolean mandatory,
Authentication.User validatedUser)
|
Authentication |
SpnegoAuthenticator.validateRequest(ServletRequest request,
ServletResponse response,
boolean mandatory)
|
Authentication |
FormAuthenticator.validateRequest(ServletRequest req,
ServletResponse res,
boolean mandatory)
|
Authentication |
DigestAuthenticator.validateRequest(ServletRequest req,
ServletResponse res,
boolean mandatory)
|
Authentication |
ClientCertAuthenticator.validateRequest(ServletRequest req,
ServletResponse res,
boolean mandatory)
|
Authentication |
BasicAuthenticator.validateRequest(ServletRequest req,
ServletResponse res,
boolean mandatory)
|
| org.eclipse.jetty.security.jaspi 中 ServletResponse 的使用 |
|---|
| 参数类型为 ServletResponse 的 org.eclipse.jetty.security.jaspi 中的方法 | |
|---|---|
boolean |
JaspiAuthenticator.secureResponse(ServletRequest req,
ServletResponse res,
boolean mandatory,
Authentication.User validatedUser)
|
Authentication |
JaspiAuthenticator.validateRequest(ServletRequest request,
ServletResponse response,
boolean mandatory)
|
| 参数类型为 ServletResponse 的 org.eclipse.jetty.security.jaspi 中的构造方法 | |
|---|---|
JaspiMessageInfo(ServletRequest request,
ServletResponse response,
boolean isAuthMandatory)
|
|
| org.eclipse.jetty.server 中 ServletResponse 的使用 |
|---|
| 实现 ServletResponse 的 org.eclipse.jetty.server 中的类 | |
|---|---|
class |
Response
Response. |
class |
ServletResponseHttpWrapper
Wrapper to tunnel a ServletResponse via a HttpServletResponse |
| 返回 ServletResponse 的 org.eclipse.jetty.server 中的方法 | |
|---|---|
ServletResponse |
AsyncContinuation.getResponse()
|
ServletResponse |
Request.getServletResponse()
|
ServletResponse |
AsyncContinuation.getServletResponse()
|
| 参数类型为 ServletResponse 的 org.eclipse.jetty.server 中的方法 | |
|---|---|
void |
AsyncContinuation.addListener(AsyncListener listener,
ServletRequest request,
ServletResponse response)
|
Authentication |
Authentication.Deferred.authenticate(ServletRequest request,
ServletResponse response)
Authenticate and possibly send a challenge. |
void |
Dispatcher.error(ServletRequest request,
ServletResponse response)
|
void |
Dispatcher.forward(ServletRequest request,
ServletResponse response)
|
protected void |
Dispatcher.forward(ServletRequest request,
ServletResponse response,
DispatcherType dispatch)
|
void |
Dispatcher.include(ServletRequest request,
ServletResponse response)
|
protected void |
AsyncContinuation.startAsync(ServletContext context,
ServletRequest request,
ServletResponse response)
|
AsyncContext |
Request.startAsync(ServletRequest servletRequest,
ServletResponse servletResponse)
|
void |
AsyncContinuation.suspend(ServletResponse response)
|
| 参数类型为 ServletResponse 的 org.eclipse.jetty.server 中的构造方法 | |
|---|---|
AsyncContinuation.AsyncEventState(ServletContext context,
ServletRequest request,
ServletResponse response)
|
|
ServletResponseHttpWrapper(ServletResponse response)
|
|
| org.eclipse.jetty.servlet 中 ServletResponse 的使用 |
|---|
| 参数类型为 ServletResponse 的 org.eclipse.jetty.servlet 中的方法 | |
|---|---|
void |
ServletHolder.handle(Request baseRequest,
ServletRequest request,
ServletResponse response)
Service a request with this servlet. |
void |
JspPropertyGroupServlet.service(ServletRequest req,
ServletResponse res)
|
| org.eclipse.jetty.servlets 中 ServletResponse 的使用 |
|---|
| 参数类型为 ServletResponse 的 org.eclipse.jetty.servlets 中的方法 | |
|---|---|
void |
WelcomeFilter.doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
|
void |
UserAgentFilter.doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
|
void |
QoSFilter.doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
|
void |
PutFilter.doFilter(ServletRequest req,
ServletResponse res,
FilterChain chain)
|
void |
MultiPartFilter.doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
|
void |
GzipFilter.doFilter(ServletRequest req,
ServletResponse res,
FilterChain chain)
|
void |
DoSFilter.doFilter(ServletRequest request,
ServletResponse response,
FilterChain filterChain)
|
void |
CrossOriginFilter.doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
|
void |
ProxyServlet.service(ServletRequest req,
ServletResponse res)
|
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||