public interface Transaction
| Modifier and Type | Method and Description |
|---|---|
Session |
getSession() |
boolean |
isNotification() |
void |
sendError(int code,
java.lang.String message,
java.lang.String data) |
void |
sendError(ResponseError error) |
void |
sendError(java.lang.Throwable e) |
void |
sendResponse(java.lang.Object result) |
void |
sendResponseObject(Response<? extends java.lang.Object> response) |
void |
sendVoidResponse() |
void |
startAsync() |
void sendResponseObject(Response<? extends java.lang.Object> response) throws java.io.IOException
java.io.IOExceptionvoid sendVoidResponse()
throws java.io.IOException
java.io.IOExceptionvoid sendResponse(java.lang.Object result)
throws java.io.IOException
java.io.IOExceptionvoid sendError(int code,
java.lang.String message,
java.lang.String data)
throws java.io.IOException
java.io.IOExceptionvoid sendError(java.lang.Throwable e)
throws java.io.IOException
java.io.IOExceptionSession getSession()
void startAsync()
boolean isNotification()
void sendError(ResponseError error) throws java.io.IOException
java.io.IOException