Package org.takes.http
Interface Back
-
- All Known Implementing Classes:
BkBasic
,BkParallel
,BkSafe
,BkTimeable
,BkWrap
public interface Back
HTTP back.All implementations of this interface must be immutable and thread-safe.
- Since:
- 0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(Socket socket)
Accept and dispatch this socket.
-
-
-
Method Detail
-
accept
void accept(Socket socket) throws IOException
Accept and dispatch this socket.- Parameters:
socket
- TCP socket with HTTP- Throws:
IOException
- If fails
-
-