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) |
| Modifier and Type | Method and Description |
|---|---|
ResponseCode |
getCode() |
String |
getMessage() |
static Response |
read(DataInputStream in) |
String |
toString() |
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 © 2023 Apache NiFi Project. All rights reserved.