类 AbstractTransportHandler
- java.lang.Object
- org.springframework.web.socket.sockjs.transport.handler.AbstractTransportHandler
- 所有已实现的接口:
TransportHandler
- 直接已知子类:
AbstractHttpReceivingTransportHandler
,AbstractHttpSendingTransportHandler
,WebSocketTransportHandler
public abstract class AbstractTransportHandler extends Object implements TransportHandler
Common base class forTransportHandler
implementations.- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev
字段概要
字段 修饰符和类型 字段 说明 protected Log
logger
protected static Charset
UTF8_CHARSET
构造器概要
构造器 构造器 说明 AbstractTransportHandler()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 SockJsServiceConfig
getServiceConfig()
void
initialize(SockJsServiceConfig serviceConfig)
Initialize this handler with the given configuration.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.springframework.web.socket.sockjs.transport.TransportHandler
checkSessionType, getTransportType, handleRequest
字段详细资料
UTF8_CHARSET
protected static final Charset UTF8_CHARSET
构造器详细资料
AbstractTransportHandler
public AbstractTransportHandler()
方法详细资料
initialize
public void initialize(SockJsServiceConfig serviceConfig)
从接口复制的说明:TransportHandler
Initialize this handler with the given configuration.- 指定者:
initialize
在接口中TransportHandler
- 参数:
serviceConfig
- the configuration as defined by the containingSockJsService
getServiceConfig
public SockJsServiceConfig getServiceConfig()