|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.servlet.filter.ServletChain
public class ServletChain
Object that chains the responses of servlets together. A servlet chain acts as a response pipe that allows servlets to filter the output of the previous servlet in the chain. When a servlet writes header or output stream data to the response, this data is fed into a chained request object that will be passed to the next servlet in the chain. The next servlet can examine the contents of the chained request to see the response that was generated by the previous servlet. The data written by the last servlet in the chain will be sent back to the client (Deprecated since WebSphere 6.0).
Field Summary |
---|
Fields inherited from interface javax.servlet.RequestDispatcher |
---|
ERROR_EXCEPTION, ERROR_EXCEPTION_TYPE, ERROR_MESSAGE, ERROR_REQUEST_URI, ERROR_SERVLET_NAME, ERROR_STATUS_CODE, FORWARD_CONTEXT_PATH, FORWARD_PATH_INFO, FORWARD_QUERY_STRING, FORWARD_REQUEST_URI, FORWARD_SERVLET_PATH, INCLUDE_CONTEXT_PATH, INCLUDE_PATH_INFO, INCLUDE_QUERY_STRING, INCLUDE_REQUEST_URI, INCLUDE_SERVLET_PATH |
Constructor Summary | |
---|---|
ServletChain()
Deprecated. |
|
ServletChain(javax.servlet.RequestDispatcher[] dispatchers)
Deprecated. |
Method Summary | |
---|---|
void |
addRequestDispatcher(int index,
javax.servlet.RequestDispatcher rd)
Deprecated. |
void |
addRequestDispatcher(javax.servlet.RequestDispatcher rd)
Deprecated. |
static void |
chainRequestDispatchers(javax.servlet.RequestDispatcher[] dispatchers,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated. Chain the responses of a set of request dispatchers together. |
void |
clear()
Deprecated. |
boolean |
containsRequestDispatcher(javax.servlet.RequestDispatcher rd)
Deprecated. |
java.util.Enumeration |
enumeration()
Deprecated. |
void |
forward(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse resp)
Deprecated. |
javax.servlet.RequestDispatcher |
getRequestDispatcher(int index)
Deprecated. |
void |
include(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse resp)
Deprecated. |
int |
indexOf(javax.servlet.RequestDispatcher rd)
Deprecated. |
boolean |
isEmpty()
Deprecated. |
javax.servlet.RequestDispatcher |
removeRequestDispatcher(int index)
Deprecated. |
boolean |
removeRequestDispatcher(javax.servlet.RequestDispatcher rd)
Deprecated. |
javax.servlet.RequestDispatcher |
setRequestDispatcher(int index,
javax.servlet.RequestDispatcher rd)
Deprecated. |
int |
size()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletChain()
public ServletChain(javax.servlet.RequestDispatcher[] dispatchers)
Method Detail |
---|
public void addRequestDispatcher(javax.servlet.RequestDispatcher rd)
public void addRequestDispatcher(int index, javax.servlet.RequestDispatcher rd)
public void clear()
public boolean containsRequestDispatcher(javax.servlet.RequestDispatcher rd)
public java.util.Enumeration enumeration()
public javax.servlet.RequestDispatcher getRequestDispatcher(int index)
public int indexOf(javax.servlet.RequestDispatcher rd)
public boolean isEmpty()
public boolean removeRequestDispatcher(javax.servlet.RequestDispatcher rd)
public javax.servlet.RequestDispatcher removeRequestDispatcher(int index)
public javax.servlet.RequestDispatcher setRequestDispatcher(int index, javax.servlet.RequestDispatcher rd)
public int size()
public void forward(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
forward
in interface javax.servlet.RequestDispatcher
javax.servlet.ServletException
java.io.IOException
public void include(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
include
in interface javax.servlet.RequestDispatcher
javax.servlet.ServletException
java.io.IOException
public static void chainRequestDispatchers(javax.servlet.RequestDispatcher[] dispatchers, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |