Package org.takes.tk
Class TkWithHeader
- java.lang.Object
-
- org.takes.tk.TkWrap
-
- org.takes.tk.TkWithHeader
-
- All Implemented Interfaces:
Take
public final class TkWithHeader extends TkWrap
Take with an extra header.This take wraps all responses of another take, adding an extra header to them, through
RsWithHeader
.The class is immutable and thread-safe.
- Since:
- 0.11
-
-
Constructor Summary
Constructors Constructor Description TkWithHeader(Take take, String header)
Ctor.TkWithHeader(Take take, String key, String value)
Ctor.
-