|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.Restlet
org.restlet.resource.Finder
org.restlet.resource.Directory
fr.cnes.sitools.proxy.DirectoryProxy
public class DirectoryProxy
Directory proxy
Constructor Summary | |
---|---|
DirectoryProxy(org.restlet.Context context,
org.restlet.data.Reference rootLocalReference,
java.lang.String proxyBaseRef)
Constructor |
|
DirectoryProxy(org.restlet.Context context,
java.lang.String rootUri)
Constructor |
|
DirectoryProxy(org.restlet.Context context,
java.lang.String rootUri,
java.lang.String proxyBaseRef)
Constructor with proxyBaseRef |
Method Summary | |
---|---|
org.restlet.representation.Representation |
getIndexRepresentation(org.restlet.representation.Variant variant,
org.restlet.data.ReferenceList indexContent)
|
java.util.List<org.restlet.representation.Variant> |
getIndexVariants(org.restlet.data.ReferenceList indexContent)
Returns the variant representations of a directory index. |
java.lang.String |
getProxyBaseRef()
Gets the proxyBaseRef value |
java.lang.String |
getRegexp()
Gets the regexp value |
org.restlet.ext.wadl.ResourceInfo |
getResourceInfo(org.restlet.ext.wadl.ApplicationInfo applicationInfo)
|
boolean |
isNocache()
Gets the nocache value |
void |
setNocache(boolean nocache)
Sets the value of nocache |
void |
setRegexp(java.lang.String regexp)
Sets the value of regexp |
Methods inherited from class org.restlet.resource.Directory |
---|
getComparator, getIndexName, getRootRef, handle, isDeeplyAccessible, isListingAllowed, isModifiable, isNegotiateContent, isNegotiatingContent, setAlphaComparator, setAlphaNumComparator, setComparator, setDeeplyAccessible, setIndexName, setListingAllowed, setModifiable, setNegotiateContent, setNegotiatingContent, setRootRef |
Methods inherited from class org.restlet.resource.Finder |
---|
create, create, createFinder, find, findTarget, getTargetClass, setTargetClass |
Methods inherited from class org.restlet.Restlet |
---|
getApplication, getAuthor, getContext, getDescription, getLogger, getName, getOwner, isStarted, isStopped, setAuthor, setContext, setDescription, setName, setOwner, start, stop |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DirectoryProxy(org.restlet.Context context, org.restlet.data.Reference rootLocalReference, java.lang.String proxyBaseRef)
context
- restlet contextrootLocalReference
- root local referenceproxyBaseRef
- proxy bas referencepublic DirectoryProxy(org.restlet.Context context, java.lang.String rootUri, java.lang.String proxyBaseRef)
context
- restlet contextrootUri
- root URIproxyBaseRef
- proxy base referencepublic DirectoryProxy(org.restlet.Context context, java.lang.String rootUri)
context
- parent contextrootUri
- Directory pathMethod Detail |
---|
public java.lang.String getProxyBaseRef()
public org.restlet.representation.Representation getIndexRepresentation(org.restlet.representation.Variant variant, org.restlet.data.ReferenceList indexContent)
getIndexRepresentation
in class org.restlet.resource.Directory
public java.util.List<org.restlet.representation.Variant> getIndexVariants(org.restlet.data.ReferenceList indexContent)
getIndexVariants
in class org.restlet.resource.Directory
indexContent
- The list of references contained in the directory index.
public org.restlet.ext.wadl.ResourceInfo getResourceInfo(org.restlet.ext.wadl.ApplicationInfo applicationInfo)
getResourceInfo
in interface org.restlet.ext.wadl.WadlDescribable
public java.lang.String getRegexp()
public void setRegexp(java.lang.String regexp)
regexp
- the regexp to setpublic void setNocache(boolean nocache)
nocache
- the nocache to setpublic boolean isNocache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |