BridgeEventType

Bridge Event Types.

Name

Description

SOCKET_CREATED

This event will occur when a new SockJS socket is created.

SOCKET_CLOSED

This event will occur when a SockJS socket is closed.

SEND

This event will occur when a message is attempted to be sent from the client to the server.

PUBLISH

This event will occur when a message is attempted to be published from the client to the server.

RECEIVE

This event will occur when a message is attempted to be delivered from the server to the client.

REGISTER

This event will occur when a client attempts to register a handler.

UNREGISTER

This event will occur when a client attempts to unregister a handler.

LoggerFormat

The possible out of the box formats.

Name

Description

DEFAULT

remote-client - - [timestamp] "method uri version" status content-length "referrer" "user-agent"

SHORT

remote-client - method uri version status content-length duration ms

TINY

method uri status - content-length duration

Transport

The available SockJS transports

Name

Description

WEBSOCKET

rfc 6455

EVENT_SOURCE

Event source

HTML_FILE

HtmlFile.

JSON_P

Slow and old fashioned JSONP polling. This transport will show "busy indicator" (aka: "spinning wheel") when sending data.

XHR

Long-polling using cross domain XHR