Package | Description |
---|---|
org.restlet | |
org.restlet.engine.application | |
org.restlet.ext.guice |
Integration with Google Guice @minor-version@.
|
org.restlet.ext.servlet |
Integration with Servlet API 3.1.
|
org.restlet.ext.wadl | |
org.restlet.resource | |
org.restlet.security | |
org.restlet.util |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
static void |
Application.setCurrent(Application application)
Sets the context to associated with the current thread.
|
Constructor and Description |
---|
ApplicationHelper(Application application)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
ResourceInjectingApplication
Application with support for creating Router instances that arrange for
member injection of resource instances.
|
Modifier and Type | Method and Description |
---|---|
protected com.google.inject.Provider<Application> |
RestletGuice.Module.newApplicationProvider()
Creates a
Provider r for the current Application . |
Modifier and Type | Method and Description |
---|---|
protected Application |
ServerServlet.createApplication(Context parentContext)
Creates the single Application used by this Servlet.
|
Application |
ServerServlet.getApplication()
Returns the application.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ServerServlet.init(Application application)
Initialize a application.
|
Modifier and Type | Class and Description |
---|---|
class |
WadlApplication
WADL enabled application.
|
Modifier and Type | Method and Description |
---|---|
Application |
Resource.getApplication()
Returns the parent application.
|
Modifier and Type | Method and Description |
---|---|
void |
Resource.setApplication(Application application)
Sets the parent application.
|
Modifier and Type | Method and Description |
---|---|
Application |
Role.getApplication()
Returns the parent application.
|
Modifier and Type | Method and Description |
---|---|
Set<Role> |
MemoryRealm.findRoles(Application application,
Group userGroup)
Finds the roles mapped to a given user group.
|
Set<Role> |
MemoryRealm.findRoles(Application application,
Set<Group> userGroups)
Finds the roles mapped to given user groups.
|
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,
String name)
Finds an existing role or creates a new one if needed.
|
static Role |
Role.get(Application application,
String name,
String description)
Finds an existing role or creates a new one if needed.
|
void |
MemoryRealm.map(User user,
Application application,
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,
String roleName)
Unmaps a group defined in a component from a role defined in the
application.
|
void |
MemoryRealm.unmap(User user,
Application application,
String roleName)
Unmaps a user defined in a component from a role defined in the
application.
|
Constructor and Description |
---|
Role(Application application,
String name)
Constructor.
|
Role(Application application,
String name,
String description)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Application |
WrapperRestlet.getApplication() |
Copyright © 2005–2019. All rights reserved.