public class PostJsonResource extends JsonResource implements PostableResource
CONTENT_TYPE| Constructor and Description |
|---|
PostJsonResource(String host,
String href,
Resource wrappedResource,
String methodParamName,
JsonResourceFactory jsonResourceFactory) |
| 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 PostJsonResource(String host, String href, Resource wrappedResource, String methodParamName, JsonResourceFactory jsonResourceFactory)
public Request.Method applicableMethod()
applicableMethod in class JsonResourcepublic String processForm(Map<String,String> parameters, Map<String,FileItem> files) throws BadRequestException, NotAuthorizedException, ConflictException
processForm in interface PostableResourceBadRequestExceptionNotAuthorizedExceptionConflictExceptionpublic void sendContent(OutputStream out, Range range, Map<String,String> params, String contentType) throws IOException, NotAuthorizedException, BadRequestException, NotFoundException
sendContent in interface GetableResourceIOExceptionNotAuthorizedExceptionBadRequestExceptionNotFoundExceptionCopyright © 2021 McEvoy Software Ltd. All rights reserved.