com.ibm.portal.resolver.servlet
Interface Dispatcher

All Superinterfaces:
Disposable

public interface Dispatcher
extends Disposable

Dispatches from a data source to another servlet or JSP and captures the response markup.

Since:
7.0.0.2

Method Summary
 void include(java.io.OutputStream out, javax.servlet.RequestDispatcher disp)
          Dispatches to RequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse) and redirects the response markup to the stream.
 void include(java.io.Writer out, javax.servlet.RequestDispatcher disp)
          Dispatches to RequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse) and redirects the response markup to the writer.
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 

Method Detail

include

void include(java.io.OutputStream out,
             javax.servlet.RequestDispatcher disp)
             throws javax.servlet.ServletException,
                    java.io.IOException
Dispatches to RequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse) and redirects the response markup to the stream. All modifications to the request or response objects passed to the dispatcher are ignored.

Parameters:
out - target stream
disp - the actual dispatcher
Throws:
javax.servlet.ServletException
java.io.IOException

include

void include(java.io.Writer out,
             javax.servlet.RequestDispatcher disp)
             throws javax.servlet.ServletException,
                    java.io.IOException
Dispatches to RequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse) and redirects the response markup to the writer. All modifications to the request or response objects passed to the dispatcher are ignored.

Parameters:
out - target writer
disp - the actual dispatcher
Throws:
javax.servlet.ServletException
java.io.IOException