org.jmage.dispatcher
Class FilteringRequestDispatcher
java.lang.Object
org.jmage.dispatcher.FilteringRequestDispatcher
- All Implemented Interfaces:
- Configurable, RequestDispatcher
- Direct Known Subclasses:
- InternalRequestDispatcher
public class FilteringRequestDispatcher
- extends java.lang.Object
- implements RequestDispatcher
FilteringRequestDispatcher dispatches all requests to ResourceManager, FilterChainManager
and EncoderManager.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
protected static org.apache.log4j.Logger log
context
protected ApplicationContext context
DISPATCH_SUCCESS
protected static final java.lang.String DISPATCH_SUCCESS
- See Also:
- Constant Field Values
FilteringRequestDispatcher
public FilteringRequestDispatcher()
configure
public void configure(ApplicationContext context)
- Configuration
- Specified by:
configure
in interface Configurable
- Parameters:
context
-
dispatch
public void dispatch(ImageRequest request)
throws JmageException
- Wrapper method for proxy cache. This method is horrible but it works around the proxy issue by not calling
createFrom on itself but the wrapped reference it obtains from the context.
- Specified by:
dispatch
in interface RequestDispatcher
- Parameters:
request
-
- Throws:
JmageException
createFrom
public byte[] createFrom(ImageRequest imageRequest)
throws JmageException
- Description copied from interface:
RequestDispatcher
- Dispatch cache interceptable
- Specified by:
createFrom
in interface RequestDispatcher
- Returns:
- the dispatched ImageRequest
- Throws:
JmageException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004-2008 Sourceforge. All Rights Reserved.