Juergen Hoeller
d1b1770eba
Exposing AspectJ 1.7.4 to users, only using AspectJ 1.8.0.M1 for ajc in our build
...
Issue: SPR-11273
2014-01-20 17:41:12 +01:00
Juergen Hoeller
f15a5fef8e
Fixed assert in setAspectJAdvisorFactory()
...
Issue: SPR-11330
2014-01-20 17:37:50 +01:00
Brian Clozel
f0449c6caa
Update org and repo info in gradle build config
...
Issue: SPR-11213
2014-01-20 17:02:40 +01:00
Juergen Hoeller
e1cb96c484
Updated optional dependencies to most recent minor versions
2014-01-20 15:30:34 +01:00
Phillip Webb
9076c70d47
Provide 'with implementationType' overloads
...
Provided overloaded versions of `forField` and `forMethodParameter` that
accept a `ResolvableType` implementation type (as opposed to a Class).
Primarily added to allow resolution against implementation types that
have been created programmatically using `forTypeWithGenerics`.
Issue: SPR-11218
2014-01-17 11:49:44 -08:00
Phillip Webb
7e6dbc24f6
Make TypeDescriptor more amenable to subclassing
...
Change the previously package scope TypeDescriptor constructor to
protected and add a getResolvableType() protected method.
Issue: SPR-11303
2014-01-17 11:05:40 -08:00
Rossen Stoyanchev
e2feed494b
Move "handlers" field to AbstractSubscribableChannel
...
Move the management of subscribers to the abstract parent class where
it belongs.
2014-01-17 11:24:28 -05:00
Rossen Stoyanchev
4e933b4765
Polish log messages
2014-01-17 11:03:02 -05:00
Sam Brannen
6e30851328
Improve logging in TransactionalTEL
...
This commit makes the logging in TransactionalTestExecutionListener
consistent for both starting and ending transactions. Specifically,
the current TestContext is now included in the informational log
statement when starting a new transaction.
Issue: SPR-11323
2014-01-17 14:54:36 +01:00
Brian Clozel
96b418cc8a
Make RequestMappingHandlerMapping xml config easier
...
Prior to this commit, it was necessary to override
the HandlerMapping definition to change properties
like useSuffixPatternMatch, useSuffixPatternMatch...
This commits adds new attributes on the
mvc:annotation-driven XML tag that allows to configure
such flags:
* use-suffix-pattern-match
* use-trailing-slash-match
* use-registered-suffix-pattern-match
Issue: SPR-10163
2014-01-17 11:21:25 +01:00
Rossen Stoyanchev
c1f3da082c
Write prelude on successive SockJS streaming requests
...
sockjs-client expects a prelude to be written on every request with
streaming transports. The protocol tests don't make this clear and
don't expose this issue.
The test case for SPR-11183 (writing 20K messages in succession) did
expose the issue and this commit addresses it.
Issue: SPR-11183
2014-01-16 12:27:14 -05:00
Juergen Hoeller
6f5a7f65ac
Polishing
2014-01-16 18:18:00 +01:00
Juergen Hoeller
4f45ad549e
Introduced customizeConnection callbacks for URLConnection used by exists() / contentLength() / lastModified()
...
Issue: SPR-11320
2014-01-16 17:09:23 +01:00
Juergen Hoeller
6051ea8ae3
Polishing
2014-01-16 16:54:49 +01:00
Juergen Hoeller
838855b1aa
Fixed accidental use of JDK 1.7+ Integer/Long.compare methods
...
Issue: SPR-11319
2014-01-16 16:54:40 +01:00
Juergen Hoeller
11bc9d0aeb
Mentioned "-parameters" compiler flag in javadoc
2014-01-16 12:49:31 +01:00
Juergen Hoeller
05047d3a26
Declared JDK 6 update 18 as minimum requirement
2014-01-16 12:48:41 +01:00
Juergen Hoeller
799c6a63ec
Fixed version number in xsd comment
2014-01-16 11:19:14 +01:00
Juergen Hoeller
50dfa037d0
Several ref doc fixes
...
Issue: SPR-8182
Issue: SPR-11243
Issue: SPR-11292
Issue: SPR-11318
2014-01-16 11:18:53 +01:00
Juergen Hoeller
e2c6e637a4
Polishing
2014-01-16 00:04:20 +01:00
Juergen Hoeller
444b3720bc
Added tests for context initializers on DispatcherServlet
...
Issue: SPR-11314
2014-01-16 00:04:07 +01:00
Juergen Hoeller
17cc63ef63
checkNotModified needs to consider HEAD as well
...
Issue: SPR-11317
2014-01-15 23:06:47 +01:00
Juergen Hoeller
a5f9b29292
Polishing
2014-01-15 22:53:46 +01:00
Juergen Hoeller
91881ff036
Introduced "globalInitializerClasses" next to the existing "contextInitializerClasses", applying to FrameworkServlets as well
...
Issue: SPR-11314
2014-01-15 22:21:27 +01:00
Juergen Hoeller
e670f4e5c6
Polishing
2014-01-15 17:45:04 +01:00
Juergen Hoeller
961f42bd43
Introduced "spring.getenv.ignore" system property for preventing System.getenv calls
...
Issue: SPR-11297
2014-01-15 17:44:17 +01:00
Juergen Hoeller
ab15ed2a05
ObjectUtils.isCompatibleWithThrowsClause supports varargs now
2014-01-15 16:09:31 +01:00
Sam Brannen
feb9d261ac
Remove unused import in MockHttpServletRequestBuilderTests
2014-01-15 15:46:52 +01:00
Juergen Hoeller
76bb966b1a
Removed Commons Lang references
2014-01-15 15:35:08 +01:00
Juergen Hoeller
8da9e5466a
Turned ArgumentsMatchKind and ArgumentsMatchInfo to package-visible
2014-01-15 15:28:20 +01:00
Juergen Hoeller
abff789b0f
Removed javadoc references to non-accessible subclasses
2014-01-15 13:39:09 +01:00
Juergen Hoeller
5d06bcec70
Fixed getTypeDifferenceWeight algorithm in ReflectionHelper, and removed unused argsRequiringConversion storage
...
Issue: SPR-11306
2014-01-15 13:36:50 +01:00
Rossen Stoyanchev
5f2106046c
Add UpgradeRequestStrategy for WildFly/Undertow
...
Issue: SPR-11237
2014-01-14 16:45:18 -05:00
Sam Brannen
5ee89a3021
Polish explanation of the 'default' profile
...
Issue: SPR-11256
2014-01-14 21:05:40 +01:00
Rossen Stoyanchev
bac9f43b66
Fix typo in documentation
...
Issue: SPR-11301
2014-01-14 14:51:27 -05:00
Stephane Nicoll
c9044151f5
Add explanation for the special 'default' profile
...
Better integrated explanation of the 'default' profile with both XML
and Java config examples showing the same thing.
Issue: SPR-11256
2014-01-14 14:32:50 -05:00
Erik van Paassen
070c5c3d33
Fixed a typo in RequestMappingHandlerMapping.java
2014-01-14 14:28:19 -05:00
Rossen Stoyanchev
ea0825c0a6
Trim tokenized strings in websocket namespace
...
Issue: SPR-11307
2014-01-14 12:45:47 -05:00
Sam Brannen
2dfd69bbb3
Stop using deprecated junit.framework.Assert class
2014-01-14 18:19:06 +01:00
Rossen Stoyanchev
8b35c3ff74
Recognize Content-Type as special header in MHSRB
...
When adding headers generically, MockHttpServletRequestBuilder now
recognizes Content-Type and updates the contentType field accordingly.
Issue: SPR-11308
2014-01-14 12:11:12 -05:00
Juergen Hoeller
26271fc30c
Polishing
2014-01-13 23:45:54 +01:00
Juergen Hoeller
1865361163
CronTriggerFactoryBean allows 'calendarName' and 'description' to be specified
...
Also making 'description' available on SimpleTriggerFactoryBean.
Issue: SPR-9771
(cherry picked from commit 7502ecd
)
2014-01-13 23:44:45 +01:00
Rossen Stoyanchev
a5c3143512
Allow hook to associate user with WebSocket session
...
This change adds a protected method to DefaultHandshakeHandler to
determine the user for the WebSocket session. By default it's
implemeted to obtain it from the request.
Issue: SPR-11228
2014-01-13 16:39:37 -05:00
Rossen Stoyanchev
6265bc1df7
Fall back on user in the Jetty UpgradeRequest
...
The Jetty ServletWebUpgradeRequest implements getUserPrincipal to
return the Principal from the HttpServletRequest on the upgrade.
This change ensures we can fall back on that.
However the JettyRequestUpgradeStrategy still passes the user from
HttpServletRequest from the upgrade, in order to work with Jetty
9.0.x and avoid running into this 9.1.x issue:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=423118
2014-01-13 16:39:37 -05:00
Juergen Hoeller
547646de6d
Polishing
2014-01-13 22:25:34 +01:00
Juergen Hoeller
f7fc2cbc3b
Replaced reflection code with straight Servlet 3.0 setAsyncStarted call
2014-01-13 22:20:46 +01:00
Juergen Hoeller
cdd65a70af
Added compatibility note on WildFly 8
2014-01-13 22:14:51 +01:00
Juergen Hoeller
24d40fa3e0
Fixed resolveProxyTargetClass exception message
2014-01-13 22:14:27 +01:00
Juergen Hoeller
bd87ff7f92
Removed TestGroup.LONG_RUNNING marker from Groovy and JRuby tests
2014-01-13 22:13:42 +01:00
Greg Turnquist
6b0d88721c
Add method for HTTP PATCH in MockMvcRequestBuilders
...
Issue: SPR-11299
This is short to avoid having to use MockMvcRequestBuilders.request()
and instead have a simple patch(url, params...)
2014-01-13 14:17:16 -05:00