org.openrdf.http.object.handlers
Class ModifiedSinceHandler

java.lang.Object
  extended by org.openrdf.http.object.handlers.ModifiedSinceHandler
All Implemented Interfaces:
Handler

public class ModifiedSinceHandler
extends java.lang.Object
implements Handler

Response with 304 and 412 when resource has not been modified.

Author:
James Leigh

Constructor Summary
ModifiedSinceHandler(Handler delegate)
           
 
Method Summary
 Response handle(ResourceOperation req)
           
 void invalidate()
           
 Response verify(ResourceOperation req)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModifiedSinceHandler

public ModifiedSinceHandler(Handler delegate)
Method Detail

invalidate

public void invalidate()

verify

public Response verify(ResourceOperation req)
                throws java.lang.Exception
Specified by:
verify in interface Handler
Throws:
java.lang.Exception

handle

public Response handle(ResourceOperation req)
                throws java.lang.Exception
Specified by:
handle in interface Handler
Throws:
java.lang.Exception


Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.