public class PropPatchJsonResource extends JsonResource implements PostableResource
| Modifier and Type | Class and Description |
|---|---|
static class |
PropPatchJsonResource.FieldError |
CONTENT_TYPE| Constructor and Description |
|---|
PropPatchJsonResource(Resource wrappedResource,
JsonPropPatchHandler patchHandler,
String encodedUrl) |
| Modifier and Type | Method and Description |
|---|---|
Request.Method |
applicableMethod() |
boolean |
authorise(Request request,
Request.Method method,
Auth auth) |
String |
processForm(Map<String,String> parameters,
Map<String,FileItem> files) |
void |
sendContent(OutputStream out,
Range range,
Map<String,String> params,
String contentType) |
authenticate, authenticate, checkRedirect, getContentLength, getContentType, getMaxAgeSeconds, getModifiedDate, getName, getRealm, getUniqueId, getWrappedResource, isDigestAllowedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentLength, getContentType, getMaxAgeSecondsauthenticate, checkRedirect, getModifiedDate, getName, getRealm, getUniqueIdpublic PropPatchJsonResource(Resource wrappedResource, JsonPropPatchHandler patchHandler, String encodedUrl)
public void sendContent(OutputStream out, Range range, Map<String,String> params, String contentType) throws IOException, NotAuthorizedException
sendContent in interface GetableResourceIOExceptionNotAuthorizedExceptionpublic boolean authorise(Request request, Request.Method method, Auth auth)
authorise in interface Resourceauthorise in class JsonResourcepublic String processForm(Map<String,String> parameters, Map<String,FileItem> files) throws BadRequestException, NotAuthorizedException, ConflictException
processForm in interface PostableResourceBadRequestExceptionNotAuthorizedExceptionConflictExceptionpublic Request.Method applicableMethod()
applicableMethod in class JsonResourceCopyright © 2021 McEvoy Software Ltd. All rights reserved.