Constructor and Description |
---|
FkAgent(Take take,
AgentMatch match)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
Opt<Response> |
route(Request req)
Process this request or ignore it.
|
public FkAgent(Take take, AgentMatch match)
take
- Take to handle the request dynamically.match
- Matcher.public Opt<Response> route(Request req) throws IOException
Fork
route
in interface Fork
req
- RequestIOException
- If failsCopyright © 2015–2019 Take. All rights reserved.