TransportHandler based on XHR (long) polling.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | checkSessionType(SockJsSession session)
Implements org. Check whether the type of the given session matches the transport type
of this |
| public PollingSockJsSession | createSession(String
the ID of the session sessionId, WebSocketHandler the underlying handler, Map<String, Object> WebSocketHandlerhandshake request specific attributes attributes)Implements org. Create a new SockJS session. |
| protected MediaType | |
| protected SockJsFrameFormat | |
| public TransportType | getTransportType()
Implements org. Return the transport type supported by this handler. |
| XhrPollingTransportHandler | back to summary |
|---|---|
| public XhrPollingTransportHandler() | |
| checkSessionType | back to summary |
|---|---|
| public boolean checkSessionType(SockJsSession session) Implements org. Doc from org. Check whether the type of the given session matches the transport type
of this
| |
| createSession | back to summary |
|---|---|
| public PollingSockJsSession createSession(String sessionId, WebSocketHandler handler, Map<String, Object> attributes) Implements org. Doc from org. Create a new SockJS session.
| |
| getContentType | back to summary |
|---|---|
| protected MediaType getContentType() Implements abstract org.
| |
| getFrameFormat | back to summary |
|---|---|
| protected SockJsFrameFormat getFrameFormat(ServerHttpRequest request) Implements abstract org.
| |
| getTransportType | back to summary |
|---|---|
| public TransportType getTransportType() Implements org. Doc from org. Return the transport type supported by this handler.
| |