|
||||||||||
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,
List<Protocol> protocols)
Constructor. |
|
Client(Context context,
List<Protocol> protocols,
String helperClass)
Constructor. |
|
Client(Context context,
Protocol protocol)
Constructor. |
|
Connector(Context context)
Constructor. |
|
Connector(Context context,
List<Protocol> protocols)
Constructor. |
|
Directory(Context context,
Reference rootLocalReference)
Constructor. |
|
Directory(Context context,
String rootUri)
Constructor. |
|
Filter(Context context)
Constructor. |
|
Filter(Context context,
Restlet next)
Constructor. |
|
Finder(Context context)
Constructor. |
|
Finder(Context context,
Class<? extends Handler> targetClass)
Constructor. |
|
Guard(Context context,
ChallengeScheme scheme,
String realm)
Constructor. |
|
Guard(Context context,
String realm,
Collection<String> baseUris,
String serverKey)
Alternate Constructor for HTTP DIGEST authentication scheme. |
|
Handler(Context context,
Request request,
Response response)
Normal constructor. |
|
Redirector(Context context,
String targetTemplate)
Constructor for the dispatcher mode. |
|
Redirector(Context context,
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,
List<Protocol> protocols,
int port,
Restlet target)
Constructor. |
|
Server(Context context,
List<Protocol> protocols,
String address,
int port,
Restlet target)
Constructor. |
|
Server(Context context,
List<Protocol> protocols,
String address,
int port,
Restlet target,
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,
String address,
int port,
Restlet target)
Constructor. |
|
VirtualHost(Context parentContext)
Constructor. |
|
VirtualHost(Context parentContext,
String hostDomain,
String hostPort,
String hostScheme,
String resourceDomain,
String resourcePort,
String resourceScheme,
String serverAddress,
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 |
WrapperRestlet.getContext()
|
Context |
ServerList.getContext()
Returns the context. |
Context |
ClientList.getContext()
Returns the context. |
Context |
Helper.getContext()
Returns the helped Restlet context. |
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 |
WrapperRestlet.setContext(Context context)
|
void |
ServerList.setContext(Context context)
Sets the context. |
void |
ClientList.setContext(Context context)
Sets the 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 |