public class NioHttpServerImpl extends Actor<NioHttpServerImpl> implements NioHttpServer
Actor.ActorReport__cbQueue, __connections, __currentDispatcher, __mailbox, __mbCapacity, __remoteId, __scheduler, __self, __stopped, __throwExAtBlock, __ticketMachine, CONT, FIN, FINSILENT, sender| Constructor and Description |
|---|
NioHttpServerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
$addHttpProcessor(RequestProcessor restProcessor)
set processor for ordinary http requests
|
void |
$init(int port,
RequestProcessor processor) |
void |
$receive() |
void |
$stopService() |
Actor |
getServingActor() |
protected void |
info(String s) |
static void |
main(String[] arg) |
protected void |
service(SelectionKey key,
SocketChannel client) |
protected void |
severe(String s) |
__addDeadLetter, __addRemoteConnection, __addStopHandler, __enqueueCall, __getCachedMethod, __removeRemoteConnection, __stop, $close, $getReport, $getSubMonitorables, $stop, $sync, checkThread, delayed, exec, getActor, getActorRef, getCallbackSize, getFactory, getMailboxSize, getQSizes, getScheduler, getThrowExWhenBlocked, inThread, isCallbackQPressured, isCont, isError, isFinal, isMailboxPressured, isProxy, isRemote, isSilentFinal, isStopped, ordered, run, self, serialOn, setThrowExWhenBlocked, stopSafeClose, yield, yield2Result, yieldListpublic void $init(int port,
RequestProcessor processor)
$init in interface NioHttpServerprotected void severe(String s)
protected void info(String s)
public void $receive()
$receive in interface NioHttpServerpublic Actor getServingActor()
getServingActor in interface NioHttpServerpublic void $addHttpProcessor(RequestProcessor restProcessor)
NioHttpServer$addHttpProcessor in interface NioHttpServerpublic void $stopService()
protected void service(SelectionKey key, SocketChannel client) throws IOException
IOExceptionpublic static void main(String[] arg) throws InterruptedException
InterruptedExceptionCopyright © 2015. All rights reserved.