com.bradmcevoy.http
Interface ReplaceableResource

All Superinterfaces:
Resource
All Known Subinterfaces:
PartialllyUpdateableResource

public interface ReplaceableResource
extends Resource

Indicates a resource which can have its content replaced by a PUT method

Author:
brad

Method Summary
 void replaceContent(java.io.InputStream in, java.lang.Long length)
           
 
Methods inherited from interface com.bradmcevoy.http.Resource
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId
 

Method Detail

replaceContent

void replaceContent(java.io.InputStream in,
                    java.lang.Long length)
                    throws BadRequestException,
                           ConflictException,
                           NotAuthorizedException
Throws:
BadRequestException
ConflictException
NotAuthorizedException


Copyright © 2011. All Rights Reserved.