Top Fields Constructors Methods
io.netty5.handler.codec

public Class DecoderResult

extends Object
Class Inheritance
Static Imports
java.util.Objects.requireNonNull

Field Summary

Modifier and TypeField and Description
private final Throwable
private static final DecoderResult

Constructor Summary

AccessConstructor and Description
protected
protected

Method Summary

Modifier and TypeMethod and Description
public final Throwable
public static DecoderResult
public final boolean
public final boolean
public static DecoderResult
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

causeback to summary
private final Throwable cause
SUCCESSback to summary
private static final DecoderResult SUCCESS

Constructor Detail

DecoderResultback to summary
protected DecoderResult(Throwable cause)
DecoderResultback to summary
protected DecoderResult()

Method Detail

causeback to summary
public final Throwable cause()
failureback to summary
public static DecoderResult failure(Throwable cause)
isFailureback to summary
public final boolean isFailure()
isSuccessback to summary
public final boolean isSuccess()
successback to summary
public static DecoderResult success()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override