com.bradmcevoy.http
Interface Handler
- All Known Subinterfaces:
- ExistingEntityHandler, PropertyHandler, ResourceHandler
- All Known Implementing Classes:
- CopyHandler, DeleteHandler, GetHandler, LockHandler, MkColHandler, MoveHandler, OptionsHandler, PostHandler, PropFindHandler, PropPatchHandler, PutHandler, ReportHandler, UnlockHandler
public interface Handler
- Author:
- brad
getMethods
java.lang.String[] getMethods()
- Returns:
- - the http methods supported by this handler. Must be all upper case.
process
void process(HttpManager httpManager,
Request request,
Response response)
throws ConflictException,
NotAuthorizedException,
BadRequestException
- Throws:
ConflictException
NotAuthorizedException
BadRequestException
isCompatible
boolean isCompatible(Resource res)
- Parameters:
res -
- Returns:
- - true if the given resource is compatible with this method
Copyright © 2011. All Rights Reserved.