Package org.symphonyoss.s2.canon.runtime
Class PayloadResponseRequestManager<A,P,R extends IBaseEntity>
- java.lang.Object
-
- org.symphonyoss.s2.canon.runtime.AbstractRequestManager<A,P,R>
-
- org.symphonyoss.s2.canon.runtime.PayloadResponseRequestManager<A,P,R>
-
- All Implemented Interfaces:
EventListener,javax.servlet.ReadListener,javax.servlet.WriteListener,IPayloadResponseRequestManager<P,R>
public abstract class PayloadResponseRequestManager<A,P,R extends IBaseEntity> extends AbstractRequestManager<A,P,R> implements javax.servlet.ReadListener, javax.servlet.WriteListener, IPayloadResponseRequestManager<P,R>
-
-
Constructor Summary
Constructors Constructor Description PayloadResponseRequestManager(javax.servlet.ServletInputStream in, javax.servlet.ServletOutputStream out, A canonAuth, org.symphonyoss.s2.fugue.core.trace.ITraceContext trace, javax.servlet.AsyncContext async, ExecutorService processExecutor, ExecutorService responseExecutor)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidfinishRequest()protected voidhandleRequest(String request)protected abstract PparsePayload(String payload)-
Methods inherited from class org.symphonyoss.s2.canon.runtime.AbstractRequestManager
getAsync, getAuth, getProcessTask, getResponseTask, getTrace, onAllDataRead, onDataAvailable, onError, onWritePossible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.symphonyoss.s2.canon.runtime.IPayloadResponseRequestManager
handle
-
-
-
-
Constructor Detail
-
PayloadResponseRequestManager
public PayloadResponseRequestManager(javax.servlet.ServletInputStream in, javax.servlet.ServletOutputStream out, A canonAuth, org.symphonyoss.s2.fugue.core.trace.ITraceContext trace, javax.servlet.AsyncContext async, ExecutorService processExecutor, ExecutorService responseExecutor)
-
-
Method Detail
-
handleRequest
protected void handleRequest(String request) throws CanonException
- Specified by:
handleRequestin classAbstractRequestManager<A,P,R extends IBaseEntity>- Throws:
CanonException
-
finishRequest
protected void finishRequest()
- Specified by:
finishRequestin classAbstractRequestManager<A,P,R extends IBaseEntity>
-
-