= Cheatsheets

[[BridgeOptions]]
== BridgeOptions

++++
 Options for configuring the event bus bridge.
++++
'''

[cols=">25%,^25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[inboundPermitted]]`inboundPermitted`|`Array of link:dataobjects.html#PermittedOptions[PermittedOptions]`|-
|[[inboundPermitteds]]`inboundPermitteds`|`Array of link:dataobjects.html#PermittedOptions[PermittedOptions]`|-
|[[maxAddressLength]]`maxAddressLength`|`Number (int)`|-
|[[maxHandlersPerSocket]]`maxHandlersPerSocket`|`Number (int)`|-
|[[outboundPermitted]]`outboundPermitted`|`Array of link:dataobjects.html#PermittedOptions[PermittedOptions]`|-
|[[outboundPermitteds]]`outboundPermitteds`|`Array of link:dataobjects.html#PermittedOptions[PermittedOptions]`|-
|[[pingTimeout]]`pingTimeout`|`Number (long)`|-
|[[replyTimeout]]`replyTimeout`|`Number (long)`|-
|===

[[PermittedOptions]]
== PermittedOptions

++++
 Specify a match to allow for inbound and outbound traffic using the
 link.
++++
'''

[cols=">25%,^25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[address]]`address`|`String`|
+++
The exact address the message is being sent to. If you want to allow messages based on
 an exact address you use this field.
+++
|[[addressRegex]]`addressRegex`|`String`|
+++
A regular expression that will be matched against the address. If you want to allow messages
 based on a regular expression you use this field. If the link value is specified
 this will be ignored.
+++
|[[match]]`match`|`Json object`|
+++
This allows you to allow messages based on their structure. Any fields in the match must exist in the
 message with the same values for them to be allowed. This currently only works with JSON messages.
+++
|[[requiredAuthority]]`requiredAuthority`|`String`|
+++
Declare a specific authority that user must have in order to allow messages
+++
|===

[[SockJSHandlerOptions]]
== SockJSHandlerOptions

++++
 Options for configuring a SockJS handler
++++
'''

[cols=">25%,^25%,50%"]
[frame="topbot"]
|===
^|Name | Type ^| Description
|[[disabledTransports]]`disabledTransports`|`Array of String`|-
|[[heartbeatInterval]]`heartbeatInterval`|`Number (long)`|-
|[[insertJSESSIONID]]`insertJSESSIONID`|`Boolean`|-
|[[libraryURL]]`libraryURL`|`String`|-
|[[maxBytesStreaming]]`maxBytesStreaming`|`Number (int)`|-
|[[sessionTimeout]]`sessionTimeout`|`Number (long)`|-
|===

