Uses of Class
org.restlet.Application
-
Packages that use Application Package Description org.restlet Core classes of the API.org.restlet.resource Client and server resource classes.org.restlet.security Classes related to security.org.restlet.util Various utility classes. -
-
Uses of Application in org.restlet
Methods in org.restlet that return Application Modifier and Type Method Description Application
Restlet. getApplication()
Returns the parent application if it exists, or null.static Application
Application. getCurrent()
This variable is stored internally as a thread local variable and updated each time a call enters an application.Methods in org.restlet with parameters of type Application Modifier and Type Method Description static void
Application. setCurrent(Application application)
Sets the context to associated with the current thread. -
Uses of Application in org.restlet.resource
Methods in org.restlet.resource that return Application Modifier and Type Method Description Application
Resource. getApplication()
Returns the parent application.Methods in org.restlet.resource with parameters of type Application Modifier and Type Method Description void
Resource. setApplication(Application application)
Sets the parent application. -
Uses of Application in org.restlet.security
Methods in org.restlet.security that return Application Modifier and Type Method Description Application
Role. getApplication()
Returns the parent application.Methods in org.restlet.security with parameters of type Application Modifier and Type Method Description java.util.Set<Role>
MemoryRealm. findRoles(Application application, java.util.Set<Group> userGroups)
Finds the roles mapped to given user groups.java.util.Set<Role>
MemoryRealm. findRoles(Application application, Group userGroup)
Finds the roles mapped to a given user group.java.util.Set<Role>
MemoryRealm. findRoles(Application application, User user)
Finds the roles mapped to a given user, for a specific application.static Role
Role. get(Application application, java.lang.String name)
Finds an existing role or creates a new one if needed.static Role
Role. get(Application application, java.lang.String name, java.lang.String description)
Finds an existing role or creates a new one if needed.void
MemoryRealm. map(User user, Application application, java.lang.String roleName)
Maps a user defined in a component to a role defined in the application.void
Role. setApplication(Application application)
Sets the parent application.void
MemoryRealm. unmap(Group group, Application application, java.lang.String roleName)
Unmaps a group defined in a component from a role defined in the application.void
MemoryRealm. unmap(User user, Application application, java.lang.String roleName)
Unmaps a user defined in a component from a role defined in the application.Constructors in org.restlet.security with parameters of type Application Constructor Description Role(Application application, java.lang.String name)
Constructor.Role(Application application, java.lang.String name, java.lang.String description)
Constructor. -
Uses of Application in org.restlet.util
Methods in org.restlet.util that return Application Modifier and Type Method Description Application
WrapperRestlet. getApplication()
-