org.jmage.dispatcher
Class InternalRequestDispatcher

java.lang.Object
  extended by org.jmage.dispatcher.FilteringRequestDispatcher
      extended by org.jmage.dispatcher.InternalRequestDispatcher
All Implemented Interfaces:
Configurable, RequestDispatcher

public class InternalRequestDispatcher
extends FilteringRequestDispatcher

InternalFilteringRequestDispatcher omits encoding and has all other steps defined as optional. If no image is specified, or if it finds an imageURI, it tries to load one through resourceManager. If a chain URI is specified, it filters the image through it, else it returns straight away.


Field Summary
protected static org.apache.log4j.Logger log
           
 
Fields inherited from class org.jmage.dispatcher.FilteringRequestDispatcher
context, DISPATCH_SUCCESS
 
Constructor Summary
InternalRequestDispatcher()
           
 
Method Summary
 void dispatch(ImageRequest imageRequest)
          Dispatch an ImageRequest for internal purposes.
 
Methods inherited from class org.jmage.dispatcher.FilteringRequestDispatcher
configure, createFrom, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
Constructor Detail

InternalRequestDispatcher

public InternalRequestDispatcher()
Method Detail

dispatch

public void dispatch(ImageRequest imageRequest)
              throws JmageException
Dispatch an ImageRequest for internal purposes.

Specified by:
dispatch in interface RequestDispatcher
Overrides:
dispatch in class FilteringRequestDispatcher
Parameters:
imageRequest - the ImageRequest
Throws:
JmageException


Copyright © 2004-2008 Sourceforge. All Rights Reserved.