Package io.milton.resource
Interface PostableResource
-
- All Superinterfaces:
GetableResource,Resource
- All Known Subinterfaces:
FileResource
public interface PostableResource extends GetableResource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringprocessForm(Map<String,String> parameters, Map<String,FileItem> files)Called after a POST request-
Methods inherited from interface io.milton.resource.GetableResource
getContentLength, getContentType, getMaxAgeSeconds, sendContent
-
Methods inherited from interface io.milton.resource.Resource
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId
-
-
-
-
Method Detail
-
processForm
String processForm(Map<String,String> parameters, Map<String,FileItem> files) throws io.milton.http.exceptions.BadRequestException, io.milton.http.exceptions.NotAuthorizedException, io.milton.http.exceptions.ConflictException
Called after a POST request- Parameters:
parameters-files-- Returns:
- - null,or an address if a redirect is required.
- Throws:
io.milton.http.exceptions.BadRequestExceptionio.milton.http.exceptions.NotAuthorizedExceptionio.milton.http.exceptions.ConflictException
-
-