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.IOException
void sendVoidResponse() throws java.io.IOException
java.io.IOException
void sendResponse(java.lang.Object result) throws java.io.IOException
java.io.IOException
void sendError(int code, java.lang.String message, java.lang.String data) throws java.io.IOException
java.io.IOException
void sendError(java.lang.Throwable e) throws java.io.IOException
java.io.IOException
Session getSession()
void startAsync()
boolean isNotification()
void sendError(ResponseError error) throws java.io.IOException
java.io.IOException