public abstract class ThriftEventHandler extends Object
| Constructor and Description |
|---|
ThriftEventHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
declaredUserException(Object o,
String methodName,
Throwable t,
ThriftCodec<?> exceptionCodec) |
void |
done(Object context,
String methodName) |
Object |
getContext(String methodName,
com.facebook.nifty.core.RequestContext requestContext) |
void |
postRead(Object context,
String methodName,
Object[] args) |
void |
postWrite(Object context,
String methodName,
Object result) |
void |
postWriteException(Object context,
String methodName,
Throwable t) |
void |
preRead(Object context,
String methodName) |
void |
preWrite(Object context,
String methodName,
Object result) |
void |
preWriteException(Object context,
String methodName,
Throwable t) |
void |
undeclaredUserException(Object o,
String methodName,
Throwable t) |
public Object getContext(String methodName, com.facebook.nifty.core.RequestContext requestContext)
public void preRead(Object context, String methodName) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void postRead(Object context, String methodName, Object[] args) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void preWrite(Object context, String methodName, Object result) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void preWriteException(Object context, String methodName, Throwable t) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void postWrite(Object context, String methodName, Object result) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void postWriteException(Object context, String methodName, Throwable t) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void declaredUserException(Object o, String methodName, Throwable t, ThriftCodec<?> exceptionCodec) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void undeclaredUserException(Object o, String methodName, Throwable t) throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2012-2016 Facebook, Inc.. All Rights Reserved.