|
||||||||||
| 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
fr.cnes.sitools.proxy.DirectoryUser
public final class DirectoryUser
User directory
| Constructor Summary | |
|---|---|
DirectoryUser(org.restlet.Context context,
org.restlet.data.Reference rootLocalReference,
java.lang.String proxyBaseRef,
java.lang.String userAttribute)
Constructor with proxyBaseRef |
|
DirectoryUser(org.restlet.Context context,
java.lang.String rootUri,
java.lang.String proxyBaseRef,
java.lang.String userAttribute)
Constructor with proxyBaseRef |
|
| Method Summary | |
|---|---|
java.lang.String |
getUserAttribute()
Gets the userAttribute value |
void |
handle(org.restlet.Request request,
org.restlet.Response response)
To manage the POST JSON or XML representation (command/preferences/...) as a file into the user directory (creates the directories path if needed). |
void |
setUserAttribute(java.lang.String userAttribute)
Sets the value of userAttribute |
| Methods inherited from class fr.cnes.sitools.proxy.DirectoryProxy |
|---|
getIndexRepresentation, getIndexVariants, getProxyBaseRef, getRegexp, getResourceInfo, isNocache, setNocache, setRegexp |
| Methods inherited from class org.restlet.resource.Directory |
|---|
getComparator, getIndexName, getRootRef, 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 DirectoryUser(org.restlet.Context context,
org.restlet.data.Reference rootLocalReference,
java.lang.String proxyBaseRef,
java.lang.String userAttribute)
context - restlet contextrootLocalReference - root local referenceproxyBaseRef - proxy base referenceuserAttribute - user attribute
public DirectoryUser(org.restlet.Context context,
java.lang.String rootUri,
java.lang.String proxyBaseRef,
java.lang.String userAttribute)
context - restlet contextrootUri - root URIproxyBaseRef - proxy base referenceuserAttribute - user attribute| Method Detail |
|---|
public void handle(org.restlet.Request request,
org.restlet.Response response)
handle in interface org.restlet.Uniformhandle in class org.restlet.resource.Directoryrequest - Requestresponse - ResponseDirectory.handle(org.restlet.Request, org.restlet.Response)public java.lang.String getUserAttribute()
public void setUserAttribute(java.lang.String userAttribute)
userAttribute - the userAttribute to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||