Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.util
Class HttpCachingInterfaceProcessor

java.lang.Object
  extended by uk.ltd.getahead.dwr.impl.DefaultInterfaceProcessor
      extended by com.jivesoftware.base.util.HttpCachingInterfaceProcessor
All Implemented Interfaces:
uk.ltd.getahead.dwr.Processor

public class HttpCachingInterfaceProcessor
extends uk.ltd.getahead.dwr.impl.DefaultInterfaceProcessor

The InterfaceProcessor for DWRHandler which will add the functionality to add the last modified header and check the if modified since header. DWR does not cache javascript files in the /dwr/interface directory by default, even though they are static throughout the application lifecycle.

See Also:
DWR Documentation, Caching Instructions

Field Summary
 
Fields inherited from class uk.ltd.getahead.dwr.impl.DefaultInterfaceProcessor
accessControl, creatorManager
 
Constructor Summary
HttpCachingInterfaceProcessor()
           
 
Method Summary
 void handle(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 
Methods inherited from class uk.ltd.getahead.dwr.impl.DefaultInterfaceProcessor
setAccessControl, setAllowImpossibleTests, setCreatorManager, setOverridePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpCachingInterfaceProcessor

public HttpCachingInterfaceProcessor()
Method Detail

handle

public void handle(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse resp)
            throws javax.servlet.ServletException,
                   java.io.IOException
Specified by:
handle in interface uk.ltd.getahead.dwr.Processor
Overrides:
handle in class uk.ltd.getahead.dwr.impl.DefaultInterfaceProcessor
Throws:
javax.servlet.ServletException
java.io.IOException

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.