public class HTTPReadHandler extends java.lang.Object implements SelectionHandler
Constructor and Description |
---|
HTTPReadHandler(HTTPServer server) |
Modifier and Type | Method and Description |
---|---|
int |
getDefaultInterestSet() |
void |
handleSelection(java.nio.channels.SelectionKey selectionKey) |
void |
onRegister(java.nio.channels.SelectionKey key) |
void |
sendBadRequest(java.nio.channels.SelectionKey selectionKey) |
public HTTPReadHandler(HTTPServer server)
public void handleSelection(java.nio.channels.SelectionKey selectionKey)
handleSelection
in interface SelectionHandler
public void sendBadRequest(java.nio.channels.SelectionKey selectionKey)
public int getDefaultInterestSet()
getDefaultInterestSet
in interface SelectionHandler
public void onRegister(java.nio.channels.SelectionKey key)
onRegister
in interface SelectionHandler