Package org.restlet.engine.component
Class ComponentHelper
Component helper.
- Author:
- Jerome Louvel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the internal client router.Returns the internal host router.voidsetServerRouter(ServerRouter serverRouter) Sets the internal server router.voidstart()Start callback.voidstop()Stop callback.voidupdate()Set the new server router that will compute the new routes when the first request will be received (automatic start).Methods inherited from class org.restlet.engine.CompositeHelper
addInboundFilter, addOutboundFilter, clear, getFirstInboundFilter, getFirstOutboundFilter, getInboundNext, getLastInboundFilter, getLastOutboundFilter, getOutboundNext, handle, setFirstInboundFilter, setFirstOutboundFilter, setInboundNext, setLastInboundFilter, setLastOutboundFilter, setOutboundNextMethods inherited from class org.restlet.engine.RestletHelper
getAttributes, getContext, getHelped, getHelpedParameters, getLogger, getMetadataService, setHelped
-
Constructor Details
-
ComponentHelper
Constructor.- Parameters:
component- The helper component.
-
-
Method Details
-
getClientRouter
Returns the internal client router.- Returns:
- the internal client router.
-
getServerRouter
Returns the internal host router.- Returns:
- the internal host router.
-
setServerRouter
Sets the internal server router.- Parameters:
serverRouter- The internal host router.
-
start
Description copied from class:RestletHelperStart callback.- Specified by:
startin classRestletHelper<Component>- Throws:
Exception
-
stop
Description copied from class:RestletHelperStop callback.- Specified by:
stopin classRestletHelper<Component>- Throws:
Exception
-
update
Set the new server router that will compute the new routes when the first request will be received (automatic start).- Specified by:
updatein classRestletHelper<Component>- Throws:
Exception
-