public class DispatcherStreamLocator extends Object
RequestDispatcher .
If the dispatcher fails, it will fallback resource retrieval to a http call using UrlUriLocator.| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_INCLUDED_BY_DISPATCHER
Attribute indicating that the request is included from within a wro request cycle.
|
| Constructor and Description |
|---|
DispatcherStreamLocator() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String location)
When using JBoss Portal and it has some funny quirks...actually a portal application have several small web
application behind it.
|
static boolean |
isIncludedRequest(javax.servlet.http.HttpServletRequest request) |
public static final String ATTRIBUTE_INCLUDED_BY_DISPATCHER
StackOverflowError.public InputStream getInputStream(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String location) throws IOException
IOException - if the stream cannot be located at the specified location.public static boolean isIncludedRequest(javax.servlet.http.HttpServletRequest request)
request - Copyright © 2008-2013. All Rights Reserved.