ro.isdc.wro.model.resource.locator
Class DispatcherStreamLocator
java.lang.Object
ro.isdc.wro.model.resource.locator.DispatcherStreamLocator
public final class DispatcherStreamLocator
- extends Object
A strategy which use ByteArray IO Streams and dispatch the request to a given location.
- Author:
- Alex Objelean
|
Method Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DispatcherStreamLocator
public DispatcherStreamLocator()
getInputStream
public InputStream getInputStream(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String location)
throws IOException
- When using JBoss Portal and it has some funny quirks...actually a portal application have several small web
application behind it. So when it intercepts a requests for portal then it start bombing the the application behind
the portal with multiple threads (web requests) that are combined with threads for wro4j.
- Returns:
- a valid stream for required location. This method will never return a null.
- Throws:
IOException - if the stream cannot be located at the specified location.
Copyright © 2008-2011. All Rights Reserved.