com.sun.grizzly.http.jk.common
Class WorkerDummy
java.lang.Object
com.sun.grizzly.http.jk.core.JkHandler
com.sun.grizzly.http.jk.common.WorkerDummy
- All Implemented Interfaces:
- EventListener, MBeanRegistration, NotificationListener
public class WorkerDummy
- extends JkHandler
A dummy worker, will just send back a dummy response.
Used for testing and tunning.
Fields inherited from class com.sun.grizzly.http.jk.core.JkHandler |
domain, ERROR, HANDLE_FLUSH, HANDLE_RECEIVE_PACKET, HANDLE_SEND_PACKET, HANDLE_THREAD_END, id, LAST, mserver, name, next, nextName, OK, oname, properties, wEnv |
Methods inherited from class com.sun.grizzly.http.jk.core.JkHandler |
addHandlerCallback, createMsgContext, createMsgContext, destroy, getDomain, getId, getName, getNext, getObjectName, getProperty, handleNotification, pause, postDeregister, postRegister, preDeregister, preRegister, resume, setId, setName, setNext, setNext, setProperty, setWorkerEnv |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkerDummy
public WorkerDummy()
init
public void init()
throws IOException
- Initialize the worker. After this call the worker will be
ready to accept new requests.
- Overrides:
init
in class JkHandler
- Throws:
IOException
invoke
public int invoke(Msg in,
MsgContext ep)
throws IOException
- Overrides:
invoke
in class JkHandler
- Throws:
IOException
Copyright © 2012 Oracle Corporation. All Rights Reserved.