public class Util
extends java.lang.Object
org.apache.tomcat.websocket package.| Modifier and Type | Class and Description |
|---|---|
static class |
Util.DecoderMatch |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
coerceToType(java.lang.Class<?> type,
java.lang.String value) |
static java.util.List<DecoderEntry> |
getDecoders(java.util.List<java.lang.Class<? extends Decoder>> decoderClazzes)
Deprecated.
Will be removed in Tomcat 10.1.x. Use
getDecoders(List, InstanceManager) |
static java.util.List<DecoderEntry> |
getDecoders(java.util.List<java.lang.Class<? extends Decoder>> decoderClazzes,
InstanceManager instanceManager)
Build the list of decoder entries from a set of decoder implementations.
|
static boolean |
isPrimitive(java.lang.Class<?> clazz) |
static void |
parseExtensionHeader(java.util.List<Extension> extensions,
java.lang.String header) |
public static boolean isPrimitive(java.lang.Class<?> clazz)
public static java.lang.Object coerceToType(java.lang.Class<?> type,
java.lang.String value)
@Deprecated public static java.util.List<DecoderEntry> getDecoders(java.util.List<java.lang.Class<? extends Decoder>> decoderClazzes) throws DeploymentException
getDecoders(List, InstanceManager)decoderClazzes - Decoder implementation classesDeploymentException - If a provided decoder class is not validpublic static java.util.List<DecoderEntry> getDecoders(java.util.List<java.lang.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 validpublic static void parseExtensionHeader(java.util.List<Extension> extensions, java.lang.String header)
Copyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.