Package io.milton.http.json
Class PropPatchJsonResource
java.lang.Object
io.milton.http.json.JsonResource
io.milton.http.json.PropPatchJsonResource
- All Implemented Interfaces:
DigestResource,GetableResource,PostableResource,Resource
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class io.milton.http.json.JsonResource
CONTENT_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionPropPatchJsonResource(Resource wrappedResource, JsonPropPatchHandler patchHandler, String encodedUrl) -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthorise(Request request, Request.Method method, Auth auth) voidsendContent(OutputStream out, Range range, Map<String, String> params, String contentType) Methods inherited from class io.milton.http.json.JsonResource
authenticate, authenticate, checkRedirect, getContentLength, getContentType, getMaxAgeSeconds, getModifiedDate, getName, getRealm, getUniqueId, getWrappedResource, isDigestAllowedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.milton.resource.GetableResource
getContentLength, getContentType, getMaxAgeSecondsMethods inherited from interface io.milton.resource.Resource
authenticate, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId
-
Constructor Details
-
PropPatchJsonResource
public PropPatchJsonResource(Resource wrappedResource, JsonPropPatchHandler patchHandler, String encodedUrl)
-
-
Method Details
-
sendContent
public void sendContent(OutputStream out, Range range, Map<String, String> params, String contentType) throws IOException, NotAuthorizedException- Specified by:
sendContentin interfaceGetableResource- Throws:
IOExceptionNotAuthorizedException
-
authorise
- Specified by:
authorisein interfaceResource- Overrides:
authorisein classJsonResource
-
processForm
public String processForm(Map<String, String> parameters, Map<String, throws BadRequestException, NotAuthorizedException, ConflictExceptionFileItem> files) - Specified by:
processFormin interfacePostableResource- Throws:
BadRequestExceptionNotAuthorizedExceptionConflictException
-
applicableMethod
- Specified by:
applicableMethodin classJsonResource
-