public class DecoderResult
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected static Signal |
SIGNAL_SUCCESS |
protected static Signal |
SIGNAL_UNFINISHED |
static DecoderResult |
SUCCESS |
static DecoderResult |
UNFINISHED |
限定符 | 构造器和说明 |
---|---|
protected |
DecoderResult(java.lang.Throwable cause) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Throwable |
cause() |
static DecoderResult |
failure(java.lang.Throwable cause) |
boolean |
isFailure() |
boolean |
isFinished() |
boolean |
isSuccess() |
java.lang.String |
toString() |
protected static final Signal SIGNAL_UNFINISHED
protected static final Signal SIGNAL_SUCCESS
public static final DecoderResult UNFINISHED
public static final DecoderResult SUCCESS
public static DecoderResult failure(java.lang.Throwable cause)
public boolean isFinished()
public boolean isSuccess()
public boolean isFailure()
public java.lang.Throwable cause()
public java.lang.String toString()
toString
在类中 java.lang.Object