public class ServerRouter extends Router
MODE_BEST_MATCH, MODE_CUSTOM, MODE_FIRST_MATCH, MODE_LAST_MATCH, MODE_NEXT_MATCH, MODE_RANDOM_MATCH
Constructor and Description |
---|
ServerRouter(Component component)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
logRoute(Route route)
Logs the route selected.
|
void |
start()
Starts the Restlet.
|
void |
stop()
Stops the filter and the attached routes.
|
attach, attach, attach, attach, attach, attach, attachDefault, attachDefault, createRoute, createRoute, detach, detach, doHandle, getCustom, getDefaultMatchingMode, getDefaultMatchingQuery, getDefaultRoute, getMatchingMode, getMaxAttempts, getNext, getRequiredScore, getRetryDelay, getRoutes, getRoutingMode, handle, redirectPermanent, redirectSeeOther, redirectTemporary, setDefaultMatchingMode, setDefaultMatchingQuery, setDefaultRoute, setMaxAttempts, setRequiredScore, setRetryDelay, setRoutes, setRoutingMode
createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setFinderClass, setName, setOwner
public ServerRouter(Component component)
component
- The parent component.protected void logRoute(Route route)
org.restlet.routing.Router
public void start() throws java.lang.Exception
public void stop() throws java.lang.Exception
org.restlet.routing.Router
Copyright © 2005-2020 Restlet.