public TkProxy(URI tgt)
tgt
- Target to which requests are forwardedpublic TkProxy(String tgt)
tgt
- Target to which requests are forwardedpublic TkProxy(String tgt, String mark)
tgt
- Target to which requests are forwardedmark
- Marker (text label) to add to the HTTP headerpublic TkProxy(URI tgt, String mark)
The target
parameter takes the destination URL
to which requests are proxied. Some valid examples:
http://example.com
http://www.example.com
https://example.com:8080
https://example.com/x/y
tgt
- Target to which requests are forwardedmark
- Marker (text label) to add to the HTTP headerCopyright © 2015–2019 Take. All rights reserved.