|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Context | |
---|---|
org.restlet | Core classes of the API. |
org.restlet.resource | Common resource and representation data elements. |
org.restlet.util | Utility classes and interfaces used in the rest of the API. |
Uses of Context in org.restlet |
---|
Methods in org.restlet that return Context | |
---|---|
Context |
Context.createChildContext()
Creates a protected child context. |
Context |
Handler.getContext()
Returns the context. |
Context |
Restlet.getContext()
Returns the context. |
static Context |
Context.getCurrent()
Returns the context associated to the current Restlet. |
Methods in org.restlet with parameters of type Context | |
---|---|
void |
Handler.init(Context context,
Request request,
Response response)
Initialize the resource with its context. |
void |
Handler.setContext(Context context)
Sets the parent context. |
void |
Restlet.setContext(Context context)
Sets the context. |
static void |
Context.setCurrent(Context context)
Sets the context to associated with the current thread. |
Constructors in org.restlet with parameters of type Context | |
---|---|
Application(Context context)
Constructor. |
|
Client(Context context,
java.util.List<Protocol> protocols)
Constructor. |
|
Client(Context context,
java.util.List<Protocol> protocols,
java.lang.String helperClass)
Constructor. |
|
Client(Context context,
Protocol protocol)
Constructor. |
|
Connector(Context context)
Constructor. |
|
Connector(Context context,
java.util.List<Protocol> protocols)
Constructor. |
|
Directory(Context context,
Reference rootLocalReference)
Constructor. |
|
Directory(Context context,
java.lang.String rootUri)
Constructor. |
|
Filter(Context context)
Constructor. |
|
Filter(Context context,
Restlet next)
Constructor. |
|
Finder(Context context)
Constructor. |
|
Finder(Context context,
java.lang.Class<? extends Handler> targetClass)
Constructor. |
|
Guard(Context context,
ChallengeScheme scheme,
java.lang.String realm)
Constructor. |
|
Guard(Context context,
java.lang.String realm,
java.util.Collection<java.lang.String> baseUris,
java.lang.String serverKey)
Alternate Constructor for HTTP DIGEST authentication scheme. |
|
Handler(Context context,
Request request,
Response response)
Normal constructor. |
|
Redirector(Context context,
java.lang.String targetTemplate)
Constructor for the dispatcher mode. |
|
Redirector(Context context,
java.lang.String targetPattern,
int mode)
Constructor. |
|
Restlet(Context context)
Constructor with the Restlet's context which can be the parent's application context, but shouldn't be the parent Component's context for security reasons. |
|
Router(Context context)
Constructor. |
|
Server(Context context,
java.util.List<Protocol> protocols,
int port,
Restlet target)
Constructor. |
|
Server(Context context,
java.util.List<Protocol> protocols,
java.lang.String address,
int port,
Restlet target)
Constructor. |
|
Server(Context context,
java.util.List<Protocol> protocols,
java.lang.String address,
int port,
Restlet target,
java.lang.String helperClass)
Constructor. |
|
Server(Context context,
Protocol protocol,
int port,
Restlet target)
Constructor. |
|
Server(Context context,
Protocol protocol,
Restlet target)
Constructor using the protocol's default port. |
|
Server(Context context,
Protocol protocol,
java.lang.String address,
int port,
Restlet target)
Constructor. |
|
VirtualHost(Context parentContext)
Constructor. |
|
VirtualHost(Context parentContext,
java.lang.String hostDomain,
java.lang.String hostPort,
java.lang.String hostScheme,
java.lang.String resourceDomain,
java.lang.String resourcePort,
java.lang.String resourceScheme,
java.lang.String serverAddress,
java.lang.String serverPort)
Constructor. |
Uses of Context in org.restlet.resource |
---|
Methods in org.restlet.resource with parameters of type Context | |
---|---|
void |
Resource.init(Context context,
Request request,
Response response)
Initialize the resource with its context. |
Constructors in org.restlet.resource with parameters of type Context | |
---|---|
Resource(Context context,
Request request,
Response response)
Normal constructor. |
|
TransformRepresentation(Context context,
Representation source,
Representation transformSheet)
Constructor. |
Uses of Context in org.restlet.util |
---|
Methods in org.restlet.util that return Context | |
---|---|
Context |
Helper.getContext()
Returns the helped Restlet context. |
Context |
ClientList.getContext()
Returns the context. |
Context |
ServerList.getContext()
Returns the context. |
Context |
WrapperRestlet.getContext()
|
Methods in org.restlet.util with parameters of type Context | |
---|---|
abstract void |
Engine.fireContextChanged(Restlet restlet,
Context context)
Indicates that a Restlet's context has changed. |
void |
ClientList.setContext(Context context)
Sets the context. |
void |
ServerList.setContext(Context context)
Sets the context. |
void |
WrapperRestlet.setContext(Context context)
|
Constructors in org.restlet.util with parameters of type Context | |
---|---|
ClientList(Context context)
Constructor. |
|
ServerList(Context context,
Restlet target)
Constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |