public class EnhDirectoryResource
extends com.noelios.restlet.local.DirectoryResource
Constructor and Description |
---|
EnhDirectoryResource(EnhDirectory directory,
org.restlet.data.Request request,
org.restlet.data.Response response) |
Modifier and Type | Method and Description |
---|---|
void |
acceptRepresentation(org.restlet.resource.Representation entity)
Accept a POST used to edit or create a file.
|
protected EnhDirectory |
getEnhDirectory() |
List<org.restlet.resource.Variant> |
getVariants()
Add EditRepresentation as a variant when appropriate.
|
getBaseName, getDirectory, getDirectoryUri, getExtensions, getTargetUri, handleGet, isDirectoryTarget, isFileTarget, removeRepresentations, setTargetUri, storeRepresentation
allowDelete, allowGet, allowPost, allowPut, delete, getPreferredRepresentation, getPreferredVariant, getRepresentation, handleDelete, handlePost, handlePut, init, isAvailable, isModifiable, isNegotiateContent, isReadable, post, put, represent, represent, setAvailable, setModifiable, setNegotiateContent, setReadable, setVariants
public EnhDirectoryResource(EnhDirectory directory, org.restlet.data.Request request, org.restlet.data.Response response) throws IOException
IOException
public List<org.restlet.resource.Variant> getVariants()
getVariants
in class com.noelios.restlet.local.DirectoryResource
DirectoryResource.getVariants()
protected EnhDirectory getEnhDirectory()
public void acceptRepresentation(org.restlet.resource.Representation entity) throws org.restlet.resource.ResourceException
acceptRepresentation
in class org.restlet.resource.Resource
org.restlet.resource.ResourceException
Resource.acceptRepresentation(org.restlet.resource.Representation)
Copyright © 2003-2014 Internet Archive. All Rights Reserved.