public class Response extends Object
| Modifier and Type | Field and Description |
|---|---|
private ResponseCode |
code |
private String |
message |
| Modifier | Constructor and Description |
|---|---|
private |
Response(ResponseCode code,
String explanation) |
private final ResponseCode code
private final String message
private Response(ResponseCode code, String explanation)
public ResponseCode getCode()
public String getMessage()
public static Response read(DataInputStream in) throws IOException, ProtocolException
IOExceptionProtocolExceptionCopyright © 2015 Apache NiFi (incubating). All rights reserved.