public final class TkWithHeaders extends TkWrap
This take wraps all responses of another take, adding
headers to them, through RsWithHeaders
.
The class is immutable and thread-safe.
Constructor and Description |
---|
TkWithHeaders(Take take,
Collection<String> headers)
Ctor.
|
TkWithHeaders(Take take,
String... headers)
Ctor.
|
public TkWithHeaders(Take take, String... headers)
take
- Originalheaders
- Headerspublic TkWithHeaders(Take take, Collection<String> headers)
take
- Originalheaders
- HeadersCopyright © 2015–2018 Take. All rights reserved.