Interface ReplaceableResource

  • All Superinterfaces:
    Resource

    public interface ReplaceableResource
    extends Resource
    Indicates a resource which can have its content replaced by a PUT method
    • Method Detail

      • replaceContent

        void replaceContent​(InputStream in,
                            Long length)
                     throws io.milton.http.exceptions.BadRequestException,
                            io.milton.http.exceptions.ConflictException,
                            io.milton.http.exceptions.NotAuthorizedException
        Throws:
        io.milton.http.exceptions.BadRequestException
        io.milton.http.exceptions.ConflictException
        io.milton.http.exceptions.NotAuthorizedException