public class FbWrap extends Object implements Fallback
The class is immutable and thread-safe.
Modifier and Type | Method and Description |
---|---|
Opt<Response> |
route(RqFallback req)
Dispatch this request and either swallow it or ignore.
|
public FbWrap(Fallback fbk)
fbk
- Fallbackpublic final Opt<Response> route(RqFallback req) throws IOException
Fallback
route
in interface Fallback
req
- RequestIOException
- If failsCopyright © 2015–2018 Take. All rights reserved.