org.openrdf.http.object.handlers
Class AlternativeHandler

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

public class AlternativeHandler
extends Object
implements Handler

If a GET request cannot be satisfied send a redirect to another operation.

Author:
James Leigh

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

Constructor Detail

AlternativeHandler

public AlternativeHandler(Handler delegate)
Method Detail

verify

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

handle

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


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