org.w3c.jigsaw.servlet
Class JigsawRequestDispatcher
java.lang.Object
org.w3c.jigsaw.servlet.JigsawRequestDispatcher
- All Implemented Interfaces:
- javax.servlet.RequestDispatcher
public class JigsawRequestDispatcher
- extends java.lang.Object
- implements javax.servlet.RequestDispatcher
Method Summary |
void |
forward(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
|
static javax.servlet.RequestDispatcher |
getRequestDispatcher(java.lang.String urlpath,
httpd server,
ResourceReference rr)
Get the appropriate dispatcher |
static javax.servlet.RequestDispatcher |
getRequestDispatcher(java.lang.String name,
ResourceReference rr,
httpd server)
Get the appropriate dispatcher |
void |
include(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQUEST_URI_P
public static final java.lang.String REQUEST_URI_P
- See Also:
- Constant Field Values
CONTEXT_PATH_P
public static final java.lang.String CONTEXT_PATH_P
- See Also:
- Constant Field Values
SERVLET_PATH_P
public static final java.lang.String SERVLET_PATH_P
- See Also:
- Constant Field Values
PATH_INFO_P
public static final java.lang.String PATH_INFO_P
- See Also:
- Constant Field Values
QUERY_STRING_P
public static final java.lang.String QUERY_STRING_P
- See Also:
- Constant Field Values
JigsawRequestDispatcher
protected JigsawRequestDispatcher(java.lang.String urlpath,
httpd server)
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
include
public void include(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Specified by:
include
in interface javax.servlet.RequestDispatcher
- Throws:
javax.servlet.ServletException
java.io.IOException
getRequestDispatcher
public static javax.servlet.RequestDispatcher getRequestDispatcher(java.lang.String name,
ResourceReference rr,
httpd server)
- Get the appropriate dispatcher
- Parameters:
name
- The servlet namerr
- the ServletContainer (ServletDirectoryFrame) referenceserver
- the HTTP server
- Returns:
- the RequestDispatcher
getRequestDispatcher
public static javax.servlet.RequestDispatcher getRequestDispatcher(java.lang.String urlpath,
httpd server,
ResourceReference rr)
- Get the appropriate dispatcher
- Parameters:
urlpath
- the servlet URIserver
- the HTTP serverrr
- the ServletContainer reference or a servlet reference
(Just used for Virtual Host)
- Returns:
- the RequestDispatcher