| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | __FORWARD_JETTY
Dispatch include attribute names |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | __INCLUDE_JETTY
Dispatch include attribute names |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | __JSP_FILE
JSP attributes |
| private ContextHandler | |
| private String | |
| private String | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | forward(ServletRequest
a request, ServletResponse ServletRequest object that represents the
request the client makes of the servleta response)ServletResponse object that represents
the response the servlet returns to the clientImplements javax. |
| protected void | |
| public void | include(ServletRequest
a request, ServletResponse ServletRequest object that contains the
client's requesta response)ServletResponse object that contains the
servlet's responseImplements javax. |
| public static int | |
| public static int |
| __FORWARD_CONTEXT_PATH | back to summary |
|---|---|
| public static final String __FORWARD_CONTEXT_PATH | |
| __FORWARD_JETTY | back to summary |
|---|---|
| public static final String __FORWARD_JETTY Dispatch include attribute names | |
| __FORWARD_PATH_INFO | back to summary |
|---|---|
| public static final String __FORWARD_PATH_INFO | |
| __FORWARD_PREFIX | back to summary |
|---|---|
| public static final String __FORWARD_PREFIX | |
| __FORWARD_QUERY_STRING | back to summary |
|---|---|
| public static final String __FORWARD_QUERY_STRING | |
| __FORWARD_REQUEST_URI | back to summary |
|---|---|
| public static final String __FORWARD_REQUEST_URI | |
| __FORWARD_SERVLET_PATH | back to summary |
|---|---|
| public static final String __FORWARD_SERVLET_PATH | |
| __INCLUDE_CONTEXT_PATH | back to summary |
|---|---|
| public static final String __INCLUDE_CONTEXT_PATH | |
| __INCLUDE_JETTY | back to summary |
|---|---|
| public static final String __INCLUDE_JETTY Dispatch include attribute names | |
| __INCLUDE_PATH_INFO | back to summary |
|---|---|
| public static final String __INCLUDE_PATH_INFO | |
| __INCLUDE_PREFIX | back to summary |
|---|---|
| public static final String __INCLUDE_PREFIX | |
| __INCLUDE_QUERY_STRING | back to summary |
|---|---|
| public static final String __INCLUDE_QUERY_STRING | |
| __INCLUDE_REQUEST_URI | back to summary |
|---|---|
| public static final String __INCLUDE_REQUEST_URI | |
| __INCLUDE_SERVLET_PATH | back to summary |
|---|---|
| public static final String __INCLUDE_SERVLET_PATH | |
| __JSP_FILE | back to summary |
|---|---|
| public static final String __JSP_FILE JSP attributes | |
| _contextHandler | back to summary |
|---|---|
| private ContextHandler _contextHandler | |
| _dQuery | back to summary |
|---|---|
| private String _dQuery | |
| _named | back to summary |
|---|---|
| private String _named | |
| _path | back to summary |
|---|---|
| private String _path | |
| _uri | back to summary |
|---|---|
| private String _uri | |
| Dispatcher | back to summary |
|---|---|
| public Dispatcher(ContextHandler contextHandler, String uri, String pathInContext, String query) | |
| Dispatcher | back to summary |
|---|---|
| public Dispatcher(ContextHandler contextHandler, String name) throws IllegalStateException Constructor. | |
| error | back to summary |
|---|---|
| public void error(ServletRequest request, ServletResponse response) throws ServletException, IOException | |
| forward | back to summary |
|---|---|
| public void forward(ServletRequest request, ServletResponse response) throws ServletException, IOException Implements javax. Doc from javax. Forwards a request from a servlet to another resource (servlet, JSP file, or HTML file) on the server. This method allows one servlet to do preliminary processing of a request and another resource to generate the response. For a
The request and response parameters must be either the same
objects as were passed to the calling servlet's service method or be
subclasses of the This method sets the dispatcher type of the given request to
| |
| forward | back to summary |
|---|---|
| protected void forward(ServletRequest request, ServletResponse response, int dispatch) throws ServletException, IOException | |
| include | back to summary |
|---|---|
| public void include(ServletRequest request, ServletResponse response) throws ServletException, IOException Implements javax. Doc from javax. Includes the content of a resource (servlet, JSP page, HTML file) in the response. In essence, this method enables programmatic server-side includes. The The request and response parameters must be either the same
objects as were passed to the calling servlet's service method or be
subclasses of the This method sets the dispatcher type of the given request to
| |
| type | back to summary |
|---|---|
| public static int type(String type) Dispatch type from name | |
| type | back to summary |
|---|---|
| public static int type(DispatcherType type) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Attributes | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Object | |
| public Enumeration | |
| public void | |
| public void | |
| public String |
| _attr | back to summary |
|---|---|
| pack-priv Attributes _attr | |
| _contextPath | back to summary |
|---|---|
| pack-priv String _contextPath | |
| _pathInfo | back to summary |
|---|---|
| pack-priv String _pathInfo | |
| _query | back to summary |
|---|---|
| pack-priv String _query | |
| _requestURI | back to summary |
|---|---|
| pack-priv String _requestURI | |
| _servletPath | back to summary |
|---|---|
| pack-priv String _servletPath | |
| ForwardAttributes | back to summary |
|---|---|
| pack-priv ForwardAttributes(Attributes attributes) | |
| clearAttributes | back to summary |
|---|---|
| public void clearAttributes() Implements org. | |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(String key) Implements org. | |
| getAttributeNames | back to summary |
|---|---|
| public Enumeration Implements org. | |
| removeAttribute | back to summary |
|---|---|
| public void removeAttribute(String name) Implements org. | |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(String key, Object value) Implements org. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Attributes | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Object | |
| public Enumeration | |
| public void | |
| public void | |
| public String |
| _attr | back to summary |
|---|---|
| pack-priv Attributes _attr | |
| _contextPath | back to summary |
|---|---|
| pack-priv String _contextPath | |
| _pathInfo | back to summary |
|---|---|
| pack-priv String _pathInfo | |
| _query | back to summary |
|---|---|
| pack-priv String _query | |
| _requestURI | back to summary |
|---|---|
| pack-priv String _requestURI | |
| _servletPath | back to summary |
|---|---|
| pack-priv String _servletPath | |
| IncludeAttributes | back to summary |
|---|---|
| pack-priv IncludeAttributes(Attributes attributes) | |
| clearAttributes | back to summary |
|---|---|
| public void clearAttributes() Implements org. | |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(String key) Implements org. | |
| getAttributeNames | back to summary |
|---|---|
| public Enumeration Implements org. | |
| removeAttribute | back to summary |
|---|---|
| public void removeAttribute(String name) Implements org. | |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(String key, Object value) Implements org. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |