Package io.milton.http.annotated
Class PutChildAnnotationHandler
java.lang.Object
io.milton.http.annotated.AbstractAnnotationHandler
io.milton.http.annotated.PutChildAnnotationHandler
- All Implemented Interfaces:
AnnotationHandler
- Author:
- brad
-
Field Summary
Fields inherited from class io.milton.http.annotated.AbstractAnnotationHandler
annoClass, annoResourceFactory, methods -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(AnnoResource res, String newName, InputStream inputStream, Long length, String contentType) voidreplace(AnnoFileResource fileRes, InputStream inputStream, Long length) Methods inherited from class io.milton.http.annotated.AbstractAnnotationHandler
attemptToReadProperty, attemptToSetProperty, getAnnoClass, getControllerMethods, getMethodForType, getSupportedMethods, invoke, isCompatible, parseController
-
Constructor Details
-
PutChildAnnotationHandler
-
-
Method Details
-
execute
public Object execute(AnnoResource res, String newName, InputStream inputStream, Long length, String contentType) throws ConflictException, NotAuthorizedException, BadRequestException -
replace
public void replace(AnnoFileResource fileRes, InputStream inputStream, Long length) throws ConflictException, NotAuthorizedException, BadRequestException
-