org.apache.sling.engine.impl.request
Class SlingRequestDispatcher

java.lang.Object
  extended by org.apache.sling.engine.impl.request.SlingRequestDispatcher
All Implemented Interfaces:
javax.servlet.RequestDispatcher

public class SlingRequestDispatcher
extends java.lang.Object
implements javax.servlet.RequestDispatcher


Constructor Summary
SlingRequestDispatcher(org.apache.sling.api.resource.Resource resource, org.apache.sling.api.request.RequestDispatcherOptions options)
           
SlingRequestDispatcher(java.lang.String path, org.apache.sling.api.request.RequestDispatcherOptions options)
           
 
Method Summary
 void forward(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
           
 void include(javax.servlet.ServletRequest request, javax.servlet.ServletResponse sResponse)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlingRequestDispatcher

public SlingRequestDispatcher(java.lang.String path,
                              org.apache.sling.api.request.RequestDispatcherOptions options)

SlingRequestDispatcher

public SlingRequestDispatcher(org.apache.sling.api.resource.Resource resource,
                              org.apache.sling.api.request.RequestDispatcherOptions options)
Method Detail

include

public void include(javax.servlet.ServletRequest request,
                    javax.servlet.ServletResponse sResponse)
             throws javax.servlet.ServletException,
                    java.io.IOException
Specified by:
include in interface javax.servlet.RequestDispatcher
Throws:
javax.servlet.ServletException
java.io.IOException

forward

public void forward(javax.servlet.ServletRequest request,
                    javax.servlet.ServletResponse response)
             throws javax.servlet.ServletException,
                    java.io.IOException
Specified by:
forward in interface javax.servlet.RequestDispatcher
Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.