public class CopyJsonResource extends JsonResource implements PostableResource
CONTENT_TYPE| Constructor and Description |
|---|
CopyJsonResource(String host,
CopyableResource copyableResource,
ResourceFactory resourceFactory) |
| Modifier and Type | Method and Description |
|---|---|
Request.Method |
applicableMethod() |
String |
processForm(Map<String,String> parameters,
Map<String,FileItem> files) |
void |
sendContent(OutputStream out,
Range range,
Map<String,String> params,
String contentType) |
authenticate, authenticate, authorise, checkRedirect, getContentLength, getContentType, getMaxAgeSeconds, getModifiedDate, getName, getRealm, getUniqueId, getWrappedResource, isDigestAllowedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentLength, getContentType, getMaxAgeSecondsauthenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueIdpublic CopyJsonResource(String host, CopyableResource copyableResource, ResourceFactory resourceFactory)
public String processForm(Map<String,String> parameters, Map<String,FileItem> files) throws BadRequestException, NotAuthorizedException
processForm in interface PostableResourceBadRequestExceptionNotAuthorizedExceptionpublic 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 JsonResourceCopyright © 2021 McEvoy Software Ltd. All rights reserved.