public static final class TrialInputGuard.Result extends Object
| Modifier and Type | Method and Description |
|---|---|
IOException |
getIoFailure() |
String |
getRefusalMessage()
Canonical cap message; null unless
isRefused(). |
byte[] |
getSnapshot()
Bytes already consumed from the source, which downstream MUST use in
place of the original stream (the source has been read to EOF).
|
boolean |
isIoFailure() |
boolean |
isRefused() |
public boolean isRefused()
public boolean isIoFailure()
public String getRefusalMessage()
isRefused().public IOException getIoFailure()
public byte[] getSnapshot()