Sebastien Deleuze
b80c13b722
Deprecate JSONP and disable it by default in Jackson view
...
Issue: SPR-16798
8 years ago
Johnny Lim
a0d37ac29e
Remove inconsistent spaces
...
(cherry picked from commit fb898e1 )
8 years ago
Rossen Stoyanchev
c23297fe76
Add more detail to ISE in ServerEndpointExporter
...
Issue: SPR-16655
8 years ago
Rossen Stoyanchev
b312a62f64
Selector header name is exposed for configuration
...
Issue: SPR-16732
8 years ago
igor-suhorukov
4aae6a6dda
Use Map.forEach instead of manual Map.Entry iteration wherever possible SPR-16646
8 years ago
Juergen Hoeller
e3d0ef6015
Use Map.forEach instead of manual Map.Entry iteration wherever possible
...
Issue: SPR-16646
8 years ago
Juergen Hoeller
d4a8f76bf9
Consistent volatile access to running flag in Lifecycle implementations
...
Issue: SPR-16488
8 years ago
igor-suhorukov
407ecf7334
to get rid of "magic" time constants
8 years ago
Juergen Hoeller
139dc1d373
Polishing (collapsed if checks, consistent downcasts, refined javadoc)
8 years ago
igor-suhorukov
0f7485b01d
Polish: reorder the modifiers to comply with the Java Language Specification.
8 years ago
Juergen Hoeller
cec7204fca
Polishing
8 years ago
igor-suhorukov
ed936cbd89
Polish: Overriding methods should do more than simply call the same method in the super class
8 years ago
Juergen Hoeller
bfddbbe731
Polishing
8 years ago
igor-suhorukov
8080f56db8
Polish: "@Override" should be used on overriding and implementing methods
8 years ago
Juergen Hoeller
a5cbf5fe24
Consistent use of Collection.toArray with zero-sized array argument
...
Includes consistent use of ClassUtils.toClassArray (as non-null variant)
Issue: SPR-16523
8 years ago
Juergen Hoeller
0de36d2883
Consistent HttpMethod identity comparisons
8 years ago
Alexander Münch
37f19a4b43
Polish Javadoc
...
WebSocketMessageBrokerStats's Javadoc now states the correct default
logging period.
Closes gh-1691
8 years ago
Juergen Hoeller
d7cab23e6d
Consistent use of StringUtils.toStringArray
...
(cherry picked from commit 6d11b40 )
8 years ago
Juergen Hoeller
b35274f5a7
WebSocket callbacks need to remain inner classes (retaining generics)
8 years ago
igor-suhorukov
2be4985b8f
Polish: anonymous inner classes containing only one method should become lambdas,
...
use getOrDefault instead of ternary operator
8 years ago
igor-suhorukov
45e520ed86
Polish: remove unused private fields, remove empty operator
8 years ago
Juergen Hoeller
3c631f8ea0
SubProtocolWebSocketHandler closes sessions outside of lifecycle monitor
...
Issue: SPR-16488
8 years ago
Juergen Hoeller
d00e1c5e4f
Polishing
8 years ago
Juergen Hoeller
39201adca4
Consistent handling of InterruptedException
...
Issue: SPR-16479
8 years ago
igor-suhorukov
d3a1d44864
Polish: Maps with keys that are enum values should be replaced with EnumMap
8 years ago
igor-suhorukov
9a6fbf59c5
Polish: follow name convention - make immutable fields final
8 years ago
Juergen Hoeller
5c813a366b
Consistent use of @throws instead of @exception
8 years ago
Juergen Hoeller
cf100d4d03
AbstractClientSockJsSession.close propagates IOException from disconnect
...
Issue: SPR-16415
8 years ago
Juergen Hoeller
8e2be91353
Fine-tuned logging of WebSocket close exceptions
...
Issue: SPR-16409
8 years ago
sdeleuze
43d3abdfd5
Fix SockJs CorsConfiguration for forbidden origins
...
After this commit, AbstractSockJsService uses the configured allowed
origins when generating the CorsConfiguration instead of "*".
As a consequence, forbidden origin requests still result in a 403
response but now with no CORS headers in order to improve consistency
between the status code and the headers.
Issue: SPR-16304
8 years ago
Rossen Stoyanchev
61352fe85b
Fix compile error
8 years ago
Rossen Stoyanchev
dd09c08cdf
Replace use of AbstractWebSocketMessageBrokerConfigurer
8 years ago
Sergey
d6591a6329
Default methods in WebSocketMessageBrokerConfigurer
...
+ deprecate AbstractWebSocketMessageBrokerConfigurer
8 years ago
Juergen Hoeller
7406f5993a
Polishing
8 years ago
Juergen Hoeller
b5cedd43eb
Consistent and efficient access to BeanDefinition argument values
...
Issue: SPR-16192
8 years ago
Christoph Dreis
9fab208fdd
Reduce access on headers for STOMP messaging
...
Issue: SPR-16165
8 years ago
Juergen Hoeller
5809f5b8eb
SubProtocolWebSocketHandler provides protected decorateSession method
...
Issue: SPR-16089
8 years ago
Rossen Stoyanchev
1cc5afe24b
Fix lines over 120 characters
...
https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style#line-wrapping
8 years ago
Juergen Hoeller
a4537b1b6d
Accessors for configured send-time and buffer-size limit
...
Issue: SPR-16089
8 years ago
Juergen Hoeller
16a08cb465
Upgrade to Jackson 2.9.2
8 years ago
Juergen Hoeller
efce7902c4
Polishing
8 years ago
Juergen Hoeller
7ae59d0c2a
Nullability refinements on private and static methods
...
Based on IntelliJ IDEA 2017.3 introspection results.
Issue: SPR-15756
8 years ago
Juergen Hoeller
4cbef27f90
Consistent tolerance of unknown HTTP status codes behind RestTemplate
...
Issue: SPR-15978
8 years ago
Sebastien Deleuze
1bc93e3d0f
Revisit nullability annotations
...
This commit introduces the following changes.
1) It adds a new Spring @NonNull annotation which allows to apply
@NonNullApi semantic on a specific element, like @Nullable does.
Combined with @Nullable , it allows partial null-safety support when
package granularity is too broad.
2) @Nullable and @NonNull can apply to ElementType.TYPE_USE in order
to be used on generic type arguments (SPR-15942).
3) Annotations does not apply to ElementType.TYPE_PARAMETER anymore
since it is not supported yet (applicability for such use case is
controversial and need to be discussed).
4) @NonNullApi does not apply to ElementType.FIELD anymore since in a
lot of use cases (private, protected) it is not part for the public API
+ its usage should remain opt-in. A dedicated @NonNullFields annotation
has been added in order to set fields default to non-nullable.
5) Updated Javadoc and reference documentation.
Issue: SPR-15756
8 years ago
Juergen Hoeller
fd0132c7e6
Polishing
9 years ago
Sebastien Deleuze
73cf07e9a4
Fix overridden methods nullability
...
Issue: SPR-15869
9 years ago
Juergen Hoeller
25e6a2da64
StompSubProtocolHandler consistently accesses current user
...
Issue: SPR-15822
9 years ago
Rossen Stoyanchev
7e232f989b
Improve check for "Broken pipe" error message
...
Issue: SPR-15802
9 years ago
Juergen Hoeller
46eba3dbfa
Nullability fine-tuning around declaration inconsistencies
...
Issue: SPR-15720
Issue: SPR-15792
9 years ago
Sebastien Deleuze
fb4ddb0746
Make getters and setters null-safety consistent
...
This commit ensure that null-safety is consistent between
getters and setters in order to be able to provide beans
with properties with a common type when type safety is
taken in account like with Kotlin.
It also add a few missing property level @Nullable
annotations.
Issue: SPR-15792
9 years ago