|
526 | 526 | <xsd:attribute name="allowed-origins" type="xsd:string">
|
527 | 527 | <xsd:annotation>
|
528 | 528 | <xsd:documentation><![CDATA[
|
529 |
| - Configure allowed {@code Origin} header values. Multiple origins may be specified |
| 529 | + Configure allowed Origin header values. Multiple origins may be specified |
530 | 530 | as a comma-separated list.
|
531 | 531 |
|
532 | 532 | This check is mostly designed for browser clients. There is noting preventing other
|
533 | 533 | types of client to modify the Origin header value.
|
534 | 534 |
|
535 | 535 | When SockJS is enabled and allowed origins are restricted, transport types that do not
|
536 |
| - use {@code Origin} headers for cross origin requests (jsonp-polling, iframe-xhr-polling, |
| 536 | + use Origin headers for cross origin requests (jsonp-polling, iframe-xhr-polling, |
537 | 537 | iframe-eventsource and iframe-htmlfile) are disabled. As a consequence, IE6/IE7 won't be
|
538 | 538 | supported anymore and IE8/IE9 will only be supported without cookies.
|
539 | 539 |
|
|
628 | 628 |
|
629 | 629 | In general WebSocket servers expect that messages to a single WebSocket
|
630 | 630 | session are sent from a single thread at a time. This is automatically
|
631 |
| - guaranteed when using {@code @EnableWebSocketMessageBroker} configuration. |
| 631 | + guaranteed when using @EnableWebSocketMessageBroker configuration. |
632 | 632 | If message sending is slow, or at least slower than rate of messages sending,
|
633 |
| - subsequent messages are buffered until either the {@code sendTimeLimit} |
634 |
| - or the {@code sendBufferSizeLimit} are reached at which point the session |
| 633 | + subsequent messages are buffered until either the sendTimeLimit |
| 634 | + or the sendBufferSizeLimit are reached at which point the session |
635 | 635 | state is cleared and an attempt is made to close the session.
|
636 | 636 |
|
637 | 637 | NOTE that the session time limit is checked only
|
|
648 | 648 | the server is using non-blocking IO such as Tomcat's NIO connector that
|
649 | 649 | is used by default on Tomcat 8. If you must use blocking IO consider
|
650 | 650 | customizing OS-level TCP settings, for example
|
651 |
| - {@code /proc/sys/net/ipv4/tcp_retries2} on Linux. |
| 651 | + /proc/sys/net/ipv4/tcp_retries2 on Linux. |
652 | 652 |
|
653 | 653 | The default value is 10 seconds (i.e. 10 * 10000).
|
654 | 654 | ]]></xsd:documentation>
|
|
663 | 663 |
|
664 | 664 | In general WebSocket servers expect that messages to a single WebSocket
|
665 | 665 | session are sent from a single thread at a time. This is automatically
|
666 |
| - guaranteed when using {@code @EnableWebSocketMessageBroker} configuration. |
| 666 | + guaranteed when using @EnableWebSocketMessageBroker configuration. |
667 | 667 | If message sending is slow, or at least slower than rate of messages sending,
|
668 |
| - subsequent messages are buffered until either the {@code sendTimeLimit} |
669 |
| - or the {@code sendBufferSizeLimit} are reached at which point the session |
| 668 | + subsequent messages are buffered until either the sendTimeLimit |
| 669 | + or the sendBufferSizeLimit are reached at which point the session |
670 | 670 | state is cleared and an attempt is made to close the session.
|
671 | 671 |
|
672 | 672 | NOTE that closing the session may not succeed in
|
|
675 | 675 | configured by default on Tomcat 7. Therefore it is recommended to ensure
|
676 | 676 | the server is using non-blocking IO such as Tomcat's NIO connector used
|
677 | 677 | by default on Tomcat 8. If you must use blocking IO consider customizing
|
678 |
| - OS-level TCP settings, for example {@code /proc/sys/net/ipv4/tcp_retries2} |
| 678 | + OS-level TCP settings, for example /proc/sys/net/ipv4/tcp_retries2 |
679 | 679 | on Linux.
|
680 | 680 |
|
681 |
| - The default value is 512K (i.e. 512 * 1024). |
682 |
| -
|
683 |
| - @param sendBufferSizeLimit the maximum number of bytes to buffer when |
684 |
| - sending messages; if the value is less than or equal to 0 then buffering |
685 |
| - is effectively disabled. |
| 681 | + The default value is 512K (i.e. 512 * 1024). If the value is set to less |
| 682 | + than or equal to 0 then buffering is effectively disabled. |
686 | 683 | ]]></xsd:documentation>
|
687 | 684 | </xsd:annotation>
|
688 | 685 | </xsd:attribute>
|
|
727 | 724 | <xsd:attribute name="allowed-origins" type="xsd:string">
|
728 | 725 | <xsd:annotation>
|
729 | 726 | <xsd:documentation><![CDATA[
|
730 |
| - Configure allowed {@code Origin} header values. Multiple origins may be specified |
| 727 | + Configure allowed Origin header values. Multiple origins may be specified |
731 | 728 | as a comma-separated list.
|
732 | 729 |
|
733 | 730 | This check is mostly designed for browser clients. There is noting preventing other
|
734 | 731 | types of client to modify the Origin header value.
|
735 | 732 |
|
736 | 733 | When SockJS is enabled and allowed origins are restricted, transport types that do not
|
737 |
| - use {@code Origin} headers for cross origin requests (jsonp-polling, iframe-xhr-polling, |
| 734 | + use Origin headers for cross origin requests (jsonp-polling, iframe-xhr-polling, |
738 | 735 | iframe-eventsource and iframe-htmlfile) are disabled. As a consequence, IE6/IE7 won't be
|
739 | 736 | supported anymore and IE8/IE9 will only be supported without cookies.
|
740 | 737 |
|
|
0 commit comments