public class DecoderResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static Signal |
SIGNAL_SUCCESS |
protected static Signal |
SIGNAL_UNFINISHED |
static DecoderResult |
SUCCESS |
static DecoderResult |
UNFINISHED |
Modifier | Constructor and Description |
---|---|
protected |
DecoderResult(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
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
in class java.lang.Object
Copyright © 2008–2018 The Netty Project. All rights reserved.