public class ClientRoute extends Route
| Constructor and Description |
|---|
ClientRoute(Router router,
Client target)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Client |
getClient()
Returns the target client.
|
float |
score(Request request,
Response response)
Returns the score for a given call (between 0 and 1.0).
|
void |
setNext(Client next)
Sets the next client.
|
afterHandle, beforeHandle, doHandle, getNext, handle, hasNext, setNext, setNext, start, stopcreateFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setFinderClass, setName, setOwnerpublic Client getClient()
public float score(Request request, Response response)
public void setNext(Client next)
next - The next client.Copyright © 2005-2024 Restlet.