|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectExtendedWadlApplication
fr.cnes.sitools.common.application.SitoolsApplication
fr.cnes.sitools.common.application.StaticWebApplication
fr.cnes.sitools.applications.PublicApplication
public final class PublicApplication
PublicApplication to expose commons files and cots.
Constructor Summary | |
---|---|
PublicApplication(org.restlet.Context context,
java.lang.String appPath,
java.lang.String baseUrl)
Constructor. |
Method Summary | |
---|---|
org.restlet.Restlet |
createInboundRoot()
|
org.restlet.ext.wadl.ApplicationInfo |
getApplicationInfo(org.restlet.Request request,
org.restlet.Response response)
|
ChallengeToken |
getChallengeToken()
Gets the challengeToken value |
java.lang.String |
getResetPasswordIndexUrl()
Gets the resetPasswordIndexUrl value |
void |
sitoolsDescribe()
Abstract method for thinking about implementing it for each concrete application describe is the RESTlet method, but overriding, prevents the self-describing functionality. |
Methods inherited from class fr.cnes.sitools.common.application.StaticWebApplication |
---|
getAppPath, getBaseUrl |
Methods inherited from class fr.cnes.sitools.common.application.SitoolsApplication |
---|
addSecurity, addSecurity, addSecurityFilter, defaultDescribe, getAttachementRef, getAuthenticationRealm, getAuthorizer, getAuthorizer, getAuthorizer, getCategory, getId, getPublicBaseRef, getRepresentationInfoReferences, getSecure, getSettings, getSitoolsApplicationInfo, getType, getUserAuthorizer, isAuthorizationSecure, isUserAuthenticationNeeded, register, setAutoRegistration, setCategory, setId, setSitoolsApplicationInfo, setType, setUserAuthenticationNeeded, start, stop, unregister, wrapToResource |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PublicApplication(org.restlet.Context context, java.lang.String appPath, java.lang.String baseUrl) throws SitoolsException
context
- Restlet Context
appPath
- location of Directory to be exposedbaseUrl
- public URL for listing files of Directory
SitoolsException
- if the challengeToken is nullMethod Detail |
---|
public void sitoolsDescribe()
SitoolsApplication
sitoolsDescribe
in class SitoolsApplication
public org.restlet.Restlet createInboundRoot()
createInboundRoot
in class StaticWebApplication
public org.restlet.ext.wadl.ApplicationInfo getApplicationInfo(org.restlet.Request request, org.restlet.Response response)
getApplicationInfo
in class SitoolsApplication
public ChallengeToken getChallengeToken()
public java.lang.String getResetPasswordIndexUrl()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |