public class PropFindJsonResource extends JsonResource implements GetableResource
CONTENT_TYPE| Constructor and Description |
|---|
PropFindJsonResource(PropFindableResource wrappedResource,
JsonPropFindHandler jsonPropFindHandler,
String encodedUrl,
Long maxAgeSecs) |
| Modifier and Type | Method and Description |
|---|---|
Request.Method |
applicableMethod() |
Long |
getMaxAgeSeconds(Auth auth)
Overridden to allow clients to specifiy the max age as a request parameter
This is to allow efficient browser caching of results in cases that need it,
while also permitting non-cached access
|
void |
sendContent(OutputStream out,
Range range,
Map<String,String> params,
String contentType) |
authenticate, authenticate, authorise, checkRedirect, getContentLength, getContentType, getModifiedDate, getName, getRealm, getUniqueId, getWrappedResource, isDigestAllowedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentLength, getContentTypeauthenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueIdpublic PropFindJsonResource(PropFindableResource wrappedResource, JsonPropFindHandler jsonPropFindHandler, String encodedUrl, Long maxAgeSecs)
public void sendContent(OutputStream out, Range range, Map<String,String> params, String contentType) throws IOException, NotAuthorizedException, BadRequestException
sendContent in interface GetableResourceIOExceptionNotAuthorizedExceptionBadRequestExceptionpublic Request.Method applicableMethod()
applicableMethod in class JsonResourcepublic Long getMaxAgeSeconds(Auth auth)
getMaxAgeSeconds in interface GetableResourcegetMaxAgeSeconds in class JsonResourceauth - Copyright © 2021 McEvoy Software Ltd. All rights reserved.