Top Fields Constructors Methods
org.eclipse.jetty.ee10.websocket.jakarta.common.decoders

public Class RegisteredDecoder

extends Object
Class Inheritance
Imports
java.lang.reflect.InvocationTargetException, jakarta.websocket.Decoder, .EndpointConfig, org.eclipse.jetty.ee10.websocket.jakarta.common.InitException, org.eclipse.jetty.websocket.core.WebSocketComponents, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final WebSocketComponents
public final EndpointConfig
public final Class<? extends Decoder>
private Decoder
public final Class<? extends Decoder>
private static final Logger
public final Class<?>
public final boolean

Constructor Summary

AccessConstructor and Description
public
RegisteredDecoder(Class<? extends Decoder> decoder, Class<? extends Decoder> interfaceType, Class<?> objectType, EndpointConfig endpointConfig, WebSocketComponents components)

public
RegisteredDecoder(Class<? extends Decoder> decoder, Class<? extends Decoder> interfaceType, Class<?> objectType, EndpointConfig endpointConfig, WebSocketComponents components, boolean primitive)

Method Summary

Modifier and TypeMethod and Description
public void
public <T extends Decoder> T
public boolean
public boolean
isType(Class<?> type)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

componentsback to summary
private final WebSocketComponents components
configback to summary
public final EndpointConfig config
decoderback to summary
public final Class<? extends Decoder> decoder
instanceback to summary
private Decoder instance
interfaceTypeback to summary
public final Class<? extends Decoder> interfaceType
LOGback to summary
private static final Logger LOG
objectTypeback to summary
public final Class<?> objectType
primitiveback to summary
public final boolean primitive

Constructor Detail

RegisteredDecoderback to summary
public RegisteredDecoder(Class<? extends Decoder> decoder, Class<? extends Decoder> interfaceType, Class<?> objectType, EndpointConfig endpointConfig, WebSocketComponents components)
RegisteredDecoderback to summary
public RegisteredDecoder(Class<? extends Decoder> decoder, Class<? extends Decoder> interfaceType, Class<?> objectType, EndpointConfig endpointConfig, WebSocketComponents components, boolean primitive)

Method Detail

destroyInstanceback to summary
public void destroyInstance()
getInstanceback to summary
public <T extends Decoder> T getInstance()
implementsInterfaceback to summary
public boolean implementsInterface(Class<? extends Decoder> type)
isTypeback to summary
public boolean isType(Class<?> type)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override