Package org.restlet.engine.util
Class ChildContext
java.lang.Object
org.restlet.Context
org.restlet.engine.util.ChildContext
Context based on a parent component's context but dedicated to a child
Restlet, typically to an application.
- Author:
- Jerome Louvel
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.restlet.Context
createChildContext, getAttributes, getClientDispatcher, getCurrent, getCurrentLogger, getDefaultEnroler, getDefaultVerifier, getExecutorService, getLogger, getParameters, getServerDispatcher, setAttributes, setClientDispatcher, setCurrent, setDefaultEnroler, setDefaultVerifier, setExecutorService, setLogger, setLogger, setParameters, setServerDispatcher
-
Constructor Details
-
ChildContext
Constructor.- Parameters:
parentContext- The parent context.
-
-
Method Details
-
getChild
Returns the child.- Returns:
- the child.
-
getParentContext
Returns the parent context.- Returns:
- The parent context.
-
setChild
Sets the child.- Parameters:
child- The child.
-