Top Description Fields Constructors Methods
org.springframework.web.socket.sockjs.transport.handler

public abstract Class AbstractTransportHandler

extends Object
implements TransportHandler
Class Inheritance
All Implemented Interfaces
org.springframework.web.socket.sockjs.transport.TransportHandler
Known Direct Subclasses
org.springframework.web.socket.sockjs.transport.handler.WebSocketTransportHandler, org.springframework.web.socket.sockjs.transport.handler.AbstractHttpReceivingTransportHandler, org.springframework.web.socket.sockjs.transport.handler.AbstractHttpSendingTransportHandler
Imports
org.apache.commons.logging.Log, .LogFactory, org.springframework.lang.Nullable, org.springframework.util.Assert, org.springframework.web.socket.sockjs.transport.SockJsServiceConfig, .TransportHandler

Common base class for TransportHandler implementations.
Author
Rossen Stoyanchev
Since
4.0

Field Summary

Modifier and TypeField and Description
protected final Log
private SockJsServiceConfig

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public SockJsServiceConfig
public void
initialize(SockJsServiceConfig
the configuration as defined by the containing org.springframework.web.socket.sockjs.SockJsService
serviceConfig
)

Implements org.springframework.web.socket.sockjs.transport.TransportHandler.initialize.

Initialize this handler with the given configuration.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

loggerback to summary
protected final Log logger
serviceConfigback to summary
private SockJsServiceConfig serviceConfig
Annotations
@Nullable

Constructor Detail

AbstractTransportHandlerback to summary
public AbstractTransportHandler()

Method Detail

getServiceConfigback to summary
public SockJsServiceConfig getServiceConfig()
initializeback to summary
public void initialize(SockJsServiceConfig serviceConfig)

Implements org.springframework.web.socket.sockjs.transport.TransportHandler.initialize.

Doc from org.springframework.web.socket.sockjs.transport.TransportHandler.initialize.

Initialize this handler with the given configuration.

Parameters
serviceConfig:SockJsServiceConfig

the configuration as defined by the containing org.springframework.web.socket.sockjs.SockJsService

Annotations
@Override