com.alipay.remoting.rpc.protocol
Class SyncUserProcessor<T>
java.lang.Object
com.alipay.remoting.rpc.protocol.AbstractUserProcessor<T>
com.alipay.remoting.rpc.protocol.SyncUserProcessor<T>
- All Implemented Interfaces:
- UserProcessor<T>
public abstract class SyncUserProcessor<T>
- extends AbstractUserProcessor<T>
Extends this to process user defined request in SYNC way.
If you want process reqeuest in ASYNC way, please extends AsyncUserProcessor.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyncUserProcessor
public SyncUserProcessor()
handleRequest
public abstract Object handleRequest(BizContext bizCtx,
T request)
throws Exception
- Description copied from interface:
UserProcessor
- Handle request in sync way.
- Returns:
-
- Throws:
Exception- See Also:
UserProcessor.handleRequest(com.alipay.remoting.BizContext, java.lang.Object)
handleRequest
public void handleRequest(BizContext bizCtx,
AsyncContext asyncCtx,
T request)
- unsupported here!
- See Also:
UserProcessor.handleRequest(com.alipay.remoting.BizContext, com.alipay.remoting.AsyncContext, java.lang.Object)
interest
public abstract String interest()
- Description copied from interface:
UserProcessor
- The class name of user request.
Use String type to avoid classloader problem.
- Returns:
- See Also:
UserProcessor.interest()
Copyright © 2018. All rights reserved.