com.ibm.websphere.servlet.filter

Class ServletChain

  1. java.lang.Object
  2. extended bycom.ibm.websphere.servlet.filter.ServletChain
All implemented interfaces:
javax.servlet.RequestDispatcher

Deprecated. Application developers requiring this functionality should implement this using javax.servlet.filter classes.
  1. public class ServletChain
  2. extends java.lang.Object
  3. implements javax.servlet.RequestDispatcher
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

Constructor and Description
ServletChain()
Deprecated.
ServletChain(javax.servlet.RequestDispatcher[] dispatchers)
Deprecated.

Method Summary

Modifier and Type Method and Description
  1. void
addRequestDispatcher(int index,javax.servlet.RequestDispatcher rd)
Deprecated.
  1. void
addRequestDispatcher(javax.servlet.RequestDispatcher rd)
Deprecated.
  1. static
  2. 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.
  1. void
clear()
Deprecated.
  1. boolean
containsRequestDispatcher(javax.servlet.RequestDispatcher rd)
Deprecated.
  1. java.util.Enumeration
enumeration()
Deprecated.
  1. void
forward(javax.servlet.ServletRequest req,javax.servlet.ServletResponse resp)
Deprecated.
  1. javax.servlet.RequestDispatcher
getRequestDispatcher(int index)
Deprecated.
  1. void
include(javax.servlet.ServletRequest req,javax.servlet.ServletResponse resp)
Deprecated.
  1. int
indexOf(javax.servlet.RequestDispatcher rd)
Deprecated.
  1. boolean
isEmpty()
Deprecated.
  1. javax.servlet.RequestDispatcher
removeRequestDispatcher(int index)
Deprecated.
  1. boolean
removeRequestDispatcher(javax.servlet.RequestDispatcher rd)
Deprecated.
  1. javax.servlet.RequestDispatcher
setRequestDispatcher(int index,javax.servlet.RequestDispatcher rd)
Deprecated.
  1. int
size()
Deprecated.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

ServletChain

  1. public ServletChain()
Deprecated.

ServletChain

  1. public ServletChain(javax.servlet.RequestDispatcher[] dispatchers)
Deprecated.

Method Detail

addRequestDispatcher

  1. public void addRequestDispatcher( javax.servlet.RequestDispatcher rd)
Deprecated.

addRequestDispatcher

  1. public void addRequestDispatcher( int index,
  2. javax.servlet.RequestDispatcher rd)
Deprecated.

clear

  1. public void clear()
Deprecated.

containsRequestDispatcher

  1. public boolean containsRequestDispatcher( javax.servlet.RequestDispatcher rd)
Deprecated.

enumeration

  1. public java.util.Enumeration enumeration( )
Deprecated.

getRequestDispatcher

  1. public javax.servlet.RequestDispatcher getRequestDispatcher( int index)
Deprecated.

indexOf

  1. public int indexOf(javax.servlet.RequestDispatcher rd)
Deprecated.

isEmpty

  1. public boolean isEmpty()
Deprecated.

removeRequestDispatcher

  1. public boolean removeRequestDispatcher( javax.servlet.RequestDispatcher rd)
Deprecated.

removeRequestDispatcher

  1. public javax.servlet.RequestDispatcher removeRequestDispatcher( int index)
Deprecated.

setRequestDispatcher

  1. public javax.servlet.RequestDispatcher setRequestDispatcher( int index,
  2. javax.servlet.RequestDispatcher rd)
Deprecated.

size

  1. public int size()
Deprecated.

forward

  1. public void forward(javax.servlet.ServletRequest req,
  2. javax.servlet.ServletResponse resp)
  3. throws javax.servlet.ServletException
  4. java.io.IOException
Deprecated.
Specified by:
forward in interface javax.servlet.RequestDispatcher
Throws:
javax.servlet.ServletException
java.io.IOException

include

  1. public void include(javax.servlet.ServletRequest req,
  2. javax.servlet.ServletResponse resp)
  3. throws javax.servlet.ServletException
  4. java.io.IOException
Deprecated.
Specified by:
include in interface javax.servlet.RequestDispatcher
Throws:
javax.servlet.ServletException
java.io.IOException

chainRequestDispatchers

  1. public static void chainRequestDispatchers( javax.servlet.RequestDispatcher[] dispatchers,
  2. javax.servlet.http.HttpServletRequest request,
  3. javax.servlet.http.HttpServletResponse response)
  4. throws java.io.IOException
  5. javax.servlet.ServletException
Deprecated.
Chain the responses of a set of request dispatchers together.
Throws:
java.io.IOException
javax.servlet.ServletException