Package org.takes.facets.fork
Class FkHost
- java.lang.Object
-
- org.takes.facets.fork.FkWrap
-
- org.takes.facets.fork.FkHost
-
- All Implemented Interfaces:
Fork
public final class FkHost extends FkWrap
Fork by host name.Use this class in combination with
TkFork
, for example:Take take = new TkFork( new FkHost("www.example.com", new TkText("home")), new FkHost("doc.example.com", new TkText("doc is here")) );
The class is immutable and thread-safe.
- Since:
- 0.32
- See Also:
TkFork