|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.gwt.Context
public class Context
Contextual data and services provided to a Restlet. The context is the means
by which a Restlet may access the software environment within the framework.
It is typically provided by the immediate parent Restlet (Component and
Application are the most common cases).
| Constructor Summary | |
|---|---|
Context()
Constructor. |
|
| Method Summary | |
|---|---|
Map<String,Object> |
getAttributes()
Returns a modifiable attributes map that can be used by developers to save information relative to the context. |
Uniform |
getClientDispatcher()
Returns a request dispatcher to available client connectors. |
Series<Parameter> |
getParameters()
Returns the modifiable series of parameters. |
Uniform |
getServerDispatcher()
Returns a request dispatcher to component's virtual hosts. |
void |
setAttributes(Map<String,Object> attributes)
Sets the modifiable map of attributes. |
void |
setParameters(Series<Parameter> parameters)
Sets the modifiable series of parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Context()
| Method Detail |
|---|
public Map<String,Object> getAttributes()
| Attribute name | Class name | Description |
|---|---|---|
| org.restlet.application | org.restlet.Application | The parent application providing this context, if any. |
public Uniform getClientDispatcher()
public Series<Parameter> getParameters()
public Uniform getServerDispatcher()
public void setAttributes(Map<String,Object> attributes)
attributes - The modifiable map of attributes.public void setParameters(Series<Parameter> parameters)
parameters - The modifiable series of parameters.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||