Top Description Inners Fields Methods
org.glassfish.tyrus.core

public Interface TyrusConfiguration

Imports
jakarta.websocket.server.ServerEndpointConfig, java.util.Collections, .HashMap, .Map

Inner Tyrus configuration properties holder object.
Since
2.1

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final TyrusConfiguration

Method Summary

Modifier and TypeMethod and Description
public Map<String, Object>

Returns:

immutable property Map for optional Tyrus behavior
tyrusProperties
()

Get an immutable map of properties provided by

public Map<String, Object>

Returns:

a mutable Map of user properties.
userProperties
()

Get a mutable copy of user properties first obtained by ServerEndpointConfig.Configurator#getUserProperties().

Field Detail

EMPTY_CONFIGURATIONback to summary
public static final TyrusConfiguration EMPTY_CONFIGURATION

Method Detail

tyrusPropertiesback to summary
public Map<String, Object> tyrusProperties()

Get an immutable map of properties provided by

Returns:Map<String, Object>

immutable property Map for optional Tyrus behavior

userPropertiesback to summary
public Map<String, Object> userProperties()

Get a mutable copy of user properties first obtained by ServerEndpointConfig.Configurator#getUserProperties().

Returns:Map<String, Object>

a mutable Map of user properties.

org.glassfish.tyrus.core back to summary

public Class TyrusConfiguration.Builder

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private Map<String, Object>
private Map<String, Object>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv TyrusConfiguration
pack-priv TyrusConfiguration.Builder
tyrusProperties(Map<String, Object> tyrusProperties)

pack-priv TyrusConfiguration.Builder
userProperties(Map<String, Object> userProperties)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

tyrusPropertiesback to summary
private Map<String, Object> tyrusProperties
userPropertiesback to summary
private Map<String, Object> userProperties

Constructor Detail

Builderback to summary
public Builder()

Method Detail

buildback to summary
pack-priv TyrusConfiguration build()
tyrusPropertiesback to summary
pack-priv TyrusConfiguration.Builder tyrusProperties(Map<String, Object> tyrusProperties)
userPropertiesback to summary
pack-priv TyrusConfiguration.Builder userProperties(Map<String, Object> userProperties)