Package org.takes.http
Class FtBasic
- java.lang.Object
-
- org.takes.http.FtBasic
-
-
Constructor Detail
-
FtBasic
public FtBasic(Take tks) throws IOException
Ctor.- Parameters:
tks
- Take- Throws:
IOException
- If fails- Since:
- 0.24
-
FtBasic
public FtBasic(Take tks, int prt) throws IOException
Ctor.- Parameters:
tks
- Takeprt
- Port- Throws:
IOException
- If fails
-
FtBasic
public FtBasic(Back bck, int port) throws IOException
Ctor.- Parameters:
bck
- Backport
- Port- Throws:
IOException
- If fails
-
FtBasic
public FtBasic(Back bck, ServerSocket skt)
Ctor.- Parameters:
bck
- Backskt
- Server socket- Since:
- 0.22
-
-
Method Detail
-
start
public void start(Exit exit) throws IOException
Description copied from interface:Front
Start and dispatch all incoming sockets.- Specified by:
start
in interfaceFront
- Parameters:
exit
- When to exit- Throws:
IOException
- If fails
-
-