public class TransportResultFactory
extends java.lang.Object
Constructor and Description |
---|
TransportResultFactory() |
Modifier and Type | Method and Description |
---|---|
static TransportResult |
error(java.lang.Exception e) |
static TransportResult |
error(java.lang.String errorDescription) |
static TransportResult |
error(java.lang.String format,
java.lang.Object... args) |
static TransportResult |
ok() |
public static TransportResult ok()
public static TransportResult error(java.lang.String format, java.lang.Object... args)
public static TransportResult error(java.lang.String errorDescription)
public static TransportResult error(java.lang.Exception e)