public interface MessageResponseCallback
UnifiedMessage| Modifier and Type | Method and Description |
|---|---|
void |
onComplete(int statusCode)
Will be called whatever the response status code is.
|
void |
onError(Throwable throwable)
Will be called if an Exception occurs (i.e :
IOException ) |
void onComplete(int statusCode)
statusCode - the status code as returned by the server.void onError(Throwable throwable)
IOException )throwable - contains failure details.Copyright © 2014 JBoss by Red Hat. All Rights Reserved.