org.openrdf.http.object.handlers
Class NotFoundHandler

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

public class NotFoundHandler
extends java.lang.Object
implements Handler

Converts a 204 into a 404 for GET and HEAD requests.

Author:
James Leigh

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

Constructor Detail

NotFoundHandler

public NotFoundHandler(Handler delegate)
Method Detail

verify

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

handle

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


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