org.openrdf.http.object.handlers
Class AlternativeHandler
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlternativeHandler
public AlternativeHandler(Handler delegate)
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.