Rossen Stoyanchev
37c6a94905
Update deps for spring-websocket
12 years ago
Sam Brannen
d01d95118b
Stop suppressing warnings for deleted deprecations
...
This commit removes the use of @SuppressWarnings("deprecation") for
code in the spring-test module that no longer references deprecated code.
Issue: SPR-10499
12 years ago
Rossen Stoyanchev
e7f38e5b17
Merge branch 'websocket'
12 years ago
Rossen Stoyanchev
d89b18613f
Polish (minor)
12 years ago
Rossen Stoyanchev
7845ebc428
Add SockJS path detection
12 years ago
Sam Brannen
72d5a32104
Added schema version to test XML config file
...
This commit adds an explicit version to the updated XML configuration
file in order to avoid build errors in IntelliJ IDEA 12.
12 years ago
Sam Brannen
95c1255452
Updated JdkVersion regarding Java 9 support
...
- JdkVersion#JAVA_19 is now properly set to 6 instead of 5.
- Javadoc for getMajorJavaVersion() now references currently supported
Java versions.
12 years ago
Juergen Hoeller
b9ca0fb947
Compatibility of JDK 8 compiled reflection API usage with JDK <8 runtimes
...
Specifically, we need to avoid "... ? this.method : this.constructor" expressions since those potentially select java.lang.reflect.Executable (which is only available on JDK 8) as common type and hardcode this into the generated bytecode (which therefore becomes JDK 8 dependent).
12 years ago
Juergen Hoeller
255eab5bed
Jaxb2Marshaller doesn't need to depend on ResourceLoaderAware
...
Issue: SPR-10512
12 years ago
Juergen Hoeller
2a53a2de0e
Raised Hibernate Validator support dependency to 4.3+
...
This allows for restoring a static MessageSourceResourceBundleLocator implementation, just implementing the interface at the new spi location introduced in HV 4.3 and preserved in 5.0.
Issue: SPR-8199
12 years ago
Juergen Hoeller
cac76192e2
Added "postProcessConfiguration" template method to LocalValidatorFactoryBean
12 years ago
Juergen Hoeller
ddbcf62edd
Replaced shared editor usage with PropertyEditorRegistrar
12 years ago
Juergen Hoeller
532de1a259
Polishing
12 years ago
Juergen Hoeller
c3b624df29
Polished UriComponents implementation
12 years ago
Juergen Hoeller
f4b97c26df
Removed UriTemplate's unused encodeUri template method
12 years ago
Juergen Hoeller
61c3f3d9fd
Removed support for deprecated registerSharedEditor mechanism
12 years ago
Rossen Stoyanchev
97d225ba75
Refactor packages
...
org.springframework.websocket -> org.springframework.web.socket
org.springframework.sockjs -> org.springframework.web.socket.sockjs
Flatten .sockjs and .sockjs.server
12 years ago
Rossen Stoyanchev
4faf0d265f
Rename classes
12 years ago
Rossen Stoyanchev
2a7935a913
Add WebSocketSession attributes + initialization
...
In addition to adding the attributes, there is now mechanism for
initializing WebSocketSession instances from attributes of the
handshake request.
12 years ago
Juergen Hoeller
0a8f5b2919
Removed deprecated helper classes and methods (that have been deprecated since 3.0 or before)
12 years ago
Juergen Hoeller
17610c2523
Added note on non-thread-safety of Jackson's DateFormat support
12 years ago
Juergen Hoeller
767bd3f3f8
Upgraded to Jackson 1.9 (raising minimum to 1.8+) and 2.2
12 years ago
Juergen Hoeller
9f9b972f00
Prepared for JDK 1.9
...
Aiming for the JdkVersion class to support one generation ahead now, in order for the test suite to properly detect 1.7/1.8+ JVMs even when running against a JDK 1.9 preview at some point.
12 years ago
Juergen Hoeller
47103ed1b3
Link to JIRA change log instead of local changelog.txt file
12 years ago
Rossen Stoyanchev
166ca7a5a3
Update exception handling
...
Allow WebSocketHandler methods to raise an exception.
By default we install ExceptionWebSocketHandlerDecorator, which logs
unhandled exceptions and closes the session. That decorator can be
extended or replaced.
Any exceptions that remain unhandled still (i.e. no exception handling
decorator), are caught in the lowest level before propagating to the
WebSocket engine or a SockJS transport handler and handled the same
way. That means default behavior is guaranteed but also fully
customizable.
12 years ago
Rossen Stoyanchev
9ca4672300
Fix handshake handling issue
12 years ago
Rossen Stoyanchev
46bcffcf30
Add JettyWebSocketClient
...
Also split out JSR-356 related configuration and load it conditionally.
12 years ago
Juergen Hoeller
5ff2653d92
Added "getName()" accessor to MethodReference
...
Issue: SPR-10422
12 years ago
Juergen Hoeller
f374b7ae2b
Fixed typo in code example
...
Issue: SPR-10394
12 years ago
Juergen Hoeller
6be954e4cd
Removed references to deprecated queryForInt method from documentation
...
Issue: SPR-10257
12 years ago
Juergen Hoeller
657bd80bf9
Removed unnecessary CGLIB 2.2 dependency from spring-test-mvc module
12 years ago
Juergen Hoeller
0ea17c8382
Allow for reuse of key visitor classes in tooling
...
Based on https://github.com/SpringSource/spring-framework/pull/263
12 years ago
Juergen Hoeller
06fdfb0b0d
Fixed annotation attribute processing for enum arrays
...
Based on https://github.com/SpringSource/spring-framework/pull/263
12 years ago
Juergen Hoeller
161530da21
Temporarily deactivated DetectSplitPackagesPlugin due to failure on JDK 8 on CI server
12 years ago
Juergen Hoeller
89de99e871
Fixed javadoc build on JDK 8 (deactivating the super-strict doclint checks)
12 years ago
Juergen Hoeller
1295c6f340
Upgraded to Hessian 4.0.7; deprecated Burlap support
12 years ago
Rossen Stoyanchev
f45ef75f95
Add WebSocketHandlerDecorator
12 years ago
Rossen Stoyanchev
ba87743087
Polish (minor)
12 years ago
Sam Brannen
bee3263322
Initial changelog entries for 4.0 M1
12 years ago
Sam Brannen
88e514bd56
Delete deprecated code in the TestContext framework
...
This commit deletes the deprecated SimpleJdbcTestUtils class as well as
remaining usage of SimpleJdbcTemplate within the TestContext framework
and its test suite.
Issue: SPR-10499
12 years ago
Sam Brannen
2685818e91
Delete deprecated code in the TestContext framework
...
This commit deletes the deprecated @ExpectedException and
@NotTransactional annotations, supporting code, and related Javadoc and
reference documentation.
Issue: SPR-10499
12 years ago
Sam Brannen
eb65b2b083
Delete deprecated code in the TestContext framework
...
This commit deletes the deprecated JUnit 3.8 support in the TestContext
Framework.
Issue: SPR-10499
12 years ago
Sam Brannen
4525068f56
Remove JUnit 3.8 based test class hierarchy
...
This commit picks up where 74021b9
left off.
12 years ago
Sam Brannen
cb2ffb79e4
Set Ant build.compiler to javac1.7
12 years ago
Rossen Stoyanchev
f347988428
Remove parameterized type from WebSocketHandler
12 years ago
Rossen Stoyanchev
0c1b329949
Remove HandlerProvider
12 years ago
Rossen Stoyanchev
861ab900ae
Switch to single message method for WebSocketHandler
12 years ago
Rossen Stoyanchev
5f22cf0532
Add WebSocketHandlerInvoker class
12 years ago
Phillip Webb
db2c2480db
Javadocs and general formatting polish
12 years ago
Rossen Stoyanchev
9da2c21edb
Consolidate WebSocketHandler interface and sub-interfaces
12 years ago