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
11 years ago
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
11 years ago
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
11 years ago
Juergen Hoeller
6f5a7f65ac
Polishing
11 years ago
Juergen Hoeller
4f45ad549e
Introduced customizeConnection callbacks for URLConnection used by exists() / contentLength() / lastModified()
...
Issue: SPR-11320
11 years ago
Juergen Hoeller
6051ea8ae3
Polishing
11 years ago
Juergen Hoeller
838855b1aa
Fixed accidental use of JDK 1.7+ Integer/Long.compare methods
...
Issue: SPR-11319
11 years ago
Juergen Hoeller
11bc9d0aeb
Mentioned "-parameters" compiler flag in javadoc
11 years ago
Juergen Hoeller
05047d3a26
Declared JDK 6 update 18 as minimum requirement
11 years ago
Juergen Hoeller
799c6a63ec
Fixed version number in xsd comment
11 years ago
Juergen Hoeller
50dfa037d0
Several ref doc fixes
...
Issue: SPR-8182
Issue: SPR-11243
Issue: SPR-11292
Issue: SPR-11318
11 years ago
Juergen Hoeller
e2c6e637a4
Polishing
11 years ago
Juergen Hoeller
444b3720bc
Added tests for context initializers on DispatcherServlet
...
Issue: SPR-11314
11 years ago
Juergen Hoeller
17cc63ef63
checkNotModified needs to consider HEAD as well
...
Issue: SPR-11317
11 years ago
Juergen Hoeller
a5f9b29292
Polishing
11 years ago
Juergen Hoeller
91881ff036
Introduced "globalInitializerClasses" next to the existing "contextInitializerClasses", applying to FrameworkServlets as well
...
Issue: SPR-11314
11 years ago
Juergen Hoeller
e670f4e5c6
Polishing
11 years ago
Juergen Hoeller
961f42bd43
Introduced "spring.getenv.ignore" system property for preventing System.getenv calls
...
Issue: SPR-11297
11 years ago
Juergen Hoeller
ab15ed2a05
ObjectUtils.isCompatibleWithThrowsClause supports varargs now
11 years ago
Sam Brannen
feb9d261ac
Remove unused import in MockHttpServletRequestBuilderTests
11 years ago
Juergen Hoeller
76bb966b1a
Removed Commons Lang references
11 years ago
Juergen Hoeller
8da9e5466a
Turned ArgumentsMatchKind and ArgumentsMatchInfo to package-visible
11 years ago
Juergen Hoeller
abff789b0f
Removed javadoc references to non-accessible subclasses
11 years ago
Juergen Hoeller
5d06bcec70
Fixed getTypeDifferenceWeight algorithm in ReflectionHelper, and removed unused argsRequiringConversion storage
...
Issue: SPR-11306
11 years ago
Rossen Stoyanchev
5f2106046c
Add UpgradeRequestStrategy for WildFly/Undertow
...
Issue: SPR-11237
11 years ago
Sam Brannen
5ee89a3021
Polish explanation of the 'default' profile
...
Issue: SPR-11256
11 years ago
Rossen Stoyanchev
bac9f43b66
Fix typo in documentation
...
Issue: SPR-11301
11 years ago
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
11 years ago
Erik van Paassen
070c5c3d33
Fixed a typo in RequestMappingHandlerMapping.java
11 years ago
Rossen Stoyanchev
ea0825c0a6
Trim tokenized strings in websocket namespace
...
Issue: SPR-11307
11 years ago
Sam Brannen
2dfd69bbb3
Stop using deprecated junit.framework.Assert class
11 years ago
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
11 years ago
Juergen Hoeller
26271fc30c
Polishing
11 years ago
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
)
11 years ago
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
11 years ago
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
11 years ago
Juergen Hoeller
547646de6d
Polishing
11 years ago
Juergen Hoeller
f7fc2cbc3b
Replaced reflection code with straight Servlet 3.0 setAsyncStarted call
11 years ago
Juergen Hoeller
cdd65a70af
Added compatibility note on WildFly 8
11 years ago
Juergen Hoeller
24d40fa3e0
Fixed resolveProxyTargetClass exception message
11 years ago
Juergen Hoeller
bd87ff7f92
Removed TestGroup.LONG_RUNNING marker from Groovy and JRuby tests
11 years ago
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...)
11 years ago
Rossen Stoyanchev
5068eb2e01
Add minor optimization to AbstractErrors
...
Issue: SPR-11304
11 years ago
Phillip Webb
9d928db3a8
Merge pull request #429 from VasylTretiakov/master
...
* pull429:
Fix various documentation issues
11 years ago
Vasyl Tretiakov
37c9b26ff8
Fix various documentation issues
...
- Remove formatting that interferes with code highlighting
- Fix some XML syntax issues
- Added missing punctuation
11 years ago
Phillip Webb
9ed911075e
Merge pull request #434 from snicoll/ascidoc-liveupdate
...
* ascidoc-liveupdate:
Hard-wrap CONTRIBUTING-DOCUMENTATION at 90 chars
Improve the "contributing documentation" readme
11 years ago
Phillip Webb
54805bc212
Hard-wrap CONTRIBUTING-DOCUMENTATION at 90 chars
11 years ago
Stephane Nicoll
d2e5ec6736
Improve the "contributing documentation" readme
...
Update the "contributing documentation" readme to include the correct
gradle goal and provide a troubleshooting section.
11 years ago
Phillip Webb
2983e3ca31
Merge pull request #435 from snicoll/SPR-11280
...
* SPR-11280:
Removed reference to Cactus from documentation
11 years ago
Stephane Nicoll
2afd9bc371
Removed reference to Cactus from documentation
...
Issue: SPR-11280
11 years ago