public class Util extends Object
org.apache.tomcat.websocket
package.Modifier and Type | Class and Description |
---|---|
static class |
Util.DecoderMatch |
Modifier and Type | Method and Description |
---|---|
static Object |
coerceToType(Class<?> type,
String value) |
static List<DecoderEntry> |
getDecoders(List<Class<? extends Decoder>> decoderClazzes)
Deprecated.
Will be removed in Tomcat 10.1.x.
Use
getDecoders(List, InstanceManager) |
static List<DecoderEntry> |
getDecoders(List<Class<? extends Decoder>> decoderClazzes,
InstanceManager instanceManager)
Build the list of decoder entries from a set of decoder implementations.
|
static boolean |
isPrimitive(Class<?> clazz) |
static void |
parseExtensionHeader(List<Extension> extensions,
String header) |
public static boolean isPrimitive(Class<?> clazz)
@Deprecated public static List<DecoderEntry> getDecoders(List<Class<? extends Decoder>> decoderClazzes) throws DeploymentException
getDecoders(List, InstanceManager)
decoderClazzes
- Decoder implementation classesDeploymentException
- If a provided decoder class is not validpublic static List<DecoderEntry> getDecoders(List<Class<? extends Decoder>> decoderClazzes, InstanceManager instanceManager) throws DeploymentException
decoderClazzes
- Decoder implementation classesinstanceManager
- Instance manager to use to create Decoder
instancesDeploymentException
- If a provided decoder class is not validCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.