public final class TkProxy extends Object implements Take
The class is immutable and thread-safe.
public TkProxy(String target)
The target
parameter takes the destination URL
to which requests are proxied. Some valid examples:
target
- Target to which requests are forwardedpublic Response act(Request req) throws IOException
Take
act
in interface Take
req
- Request to processIOException
- If failsCopyright © 2015–2016 Take. All rights reserved.