Sam Brannen
1de71c6e37
[SPR-8222] Upgraded to JUnit 4.9.
13 years ago
Rossen Stoyanchev
6a06a17c47
SPR-6464 Add target request matching logic to DefaultFlashMapManager.
13 years ago
Rossen Stoyanchev
00ff018b39
SPR-6464 Uncommitted file from the last commit.
13 years ago
Chris Beams
6db594c79d
Register JndiPropertySource by default in servlet environments
...
Prior to this change, StandardServletEnvironment evaluated a
"jndiPropertySourceEnabled" flag to determine whether or not to add a
JndiPropertySource. Following the changes introduced in SPR-8490, there
is now no reason not to enable a JNDI property source by default. This
change eliminates the support for "jndiPropertySourceEnabled" and adds
a JndiPropertySource automatically.
Issue: SPR-8545, SPR-8490
13 years ago
Sam Brannen
87dad65ff0
[SPR-8622] Upgraded to JUnit 4.8.2
13 years ago
Juergen Hoeller
36084c348f
fixed timeout assertion
13 years ago
Juergen Hoeller
20f748865e
polishing
13 years ago
Juergen Hoeller
cce1e2010d
added HttpComponentsHttpInvokerRequestExecutor
13 years ago
Juergen Hoeller
f0db3d0992
polishing
13 years ago
Juergen Hoeller
c564049b23
consistent "connectTimeout" and "readTimeout" properties (SPR-8615)
13 years ago
Rossen Stoyanchev
936c83b030
SPR-6464 Add RedirectModel
13 years ago
Rossen Stoyanchev
d746dcaa63
SPR-5628 Use MediaType to parse the content type in HttpPutFormContentFilter
13 years ago
Juergen Hoeller
03c267e93a
added "connectTimeout" and "readTimeout" properties to SimpleClientHttpRequestFactory (SPR-8614)
13 years ago
David Syer
47f45ff743
SPR-8585: add generic composite filter
13 years ago
David Syer
0c0ab97a84
Switch servlet dependency to a public one
13 years ago
Rossen Stoyanchev
1df0cd9f20
SPR-6464 Drop @FlashAttributes , add ResponseContext, ViewResponse, and RedirectResponse types for annotated controllers to use to prepare a redirect response with flash attributes; Add FlashMap and FlashMapManager and update DispatcherServlet to discover and invoke the FlashMapManager.
13 years ago
Rossen Stoyanchev
fc4ea16ba0
Replace RequestBodyNotValidException and RequestPartNotValidException with MethodArgumentNotValidException and add MethodParameter information to the exception message.
13 years ago
Juergen Hoeller
8f23c66512
SpringBeanAutowiringSupport is able to process @Value annotations on any given target instance (SPR-8574)
13 years ago
Juergen Hoeller
8745024969
added getContentAsByteArray() and getContentAsString() methods (SPR-8575); actually implemented forward, include and handlePageException methods
13 years ago
Juergen Hoeller
c864908779
Spring JSP tags do not use their own expression support on Servlet 3.0 containers by default; added support for web.xml context-param "springJspExpressionSupport" (explicit "true"/"false")
13 years ago
Rossen Stoyanchev
f4adf227be
SPR-6464 Add @FlashAttributes annotation and FlashStatus method argument
13 years ago
Juergen Hoeller
2c504012ad
HtmlUtils properly escapes single quotes as well
13 years ago
Juergen Hoeller
38837eddfd
HtmlUtils properly escapes single quotes as well
13 years ago
Rossen Stoyanchev
75ad185558
SPR-8561 Permit null values for simple controller method arguments types without annotations.
13 years ago
Juergen Hoeller
d7cd11a48c
consistent update of HeaderValueHolder class
13 years ago
Rossen Stoyanchev
2cf2fc195e
SPR-5628 Add HttpPutFormContentFilter in order to make form encoded data available via ServletRequest.getParameter*()
13 years ago
Juergen Hoeller
179dad8c24
defensive checking that a provided class actually implements WebApplicationInitializer (SPR-8557); avoid early initialization of Commons Logging (using ServletContext logging instead)
13 years ago
Rossen Stoyanchev
3363d05879
SPR-8483 Add integration test for accessing multipart request parts with @RequestPart
13 years ago
Juergen Hoeller
571535352b
revised Servlet 3.0 based StandardServletMultipartResolver for correct param/file distinction; added multipart content type and headers access to MultipartRequest (dropping the previous header access solution on MultipartFile); MultipartFilter uses a Servlet 3.0 based StandardServletMultipartResolver by default
13 years ago
Juergen Hoeller
65ad44dadc
polishing
13 years ago
Rossen Stoyanchev
2568a3c2c6
SPR-8001 Recognize case when MultipartRequest is null and argument is of type MultipartFile and raise helpful exception.
13 years ago
Rossen Stoyanchev
b8c723d080
SPR-8532 Upgrade org.springframework.web.servlet to Servlet 3.0 (as provided dependency) and add support for javax.servlet.Part parameter
13 years ago
Juergen Hoeller
0c2a6395e7
revised package-level request and response classes
13 years ago
Juergen Hoeller
6cd55b7986
ContextLoader and FrameworkServlet support "contextId" parameter for custom serialization id
13 years ago
Juergen Hoeller
36b582682d
added "autoGrowNestedPaths" property to ConfigurableWebBindingInitializer
13 years ago
Chris Beams
ce0a0ff3d4
Move JNDI_PROPERTY_SOURCE_ENABLED_FLAG constant
...
Move JNDI_PROPERTY_SOURCE_ENABLED_FLAG from JndiPropertySource to
StandardServletEnvironment, as this is the only context in which the
constant makes sense.
13 years ago
Chris Beams
fecd6edf75
Fix unnecessary casts in Servlet*PropertySource
13 years ago
Chris Beams
4756badc1d
Prevent NPE in SpringServletContainerInitializer
...
Issue: SPR-8496
13 years ago
Rossen Stoyanchev
0dae1a6bd8
SPR-8447 Provide sufficient contextwherever possible when exceptions are raised in new @MVC classes.
13 years ago
Rossen Stoyanchev
3a87d8e7cb
SPR-8483 Add support for @RequestPart annotated method parameters
13 years ago
Juergen Hoeller
3bbefb3e65
fixed getHeaderNames signature
13 years ago
Juergen Hoeller
0371f569ec
added headers support to MultipartFile abstraction
13 years ago
Rossen Stoyanchev
78470782d4
SPR-8487 Ensure setters for argument resolvers and return value handlers replace the defaults completely.
13 years ago
Chris Beams
24a8a05f24
Polish WebApplicationInitializer Javadoc
13 years ago
Rossen Stoyanchev
1e07af8827
SPR-7608 Add fallback mechanism for instantiating a model attribute from a path variable
13 years ago
Rossen Stoyanchev
8e240d814b
SPR-6909 Improve extension hooks in DefaultDataBinderFactory and subclasses.
13 years ago
Rossen Stoyanchev
efaa941672
SPR-8476 Translate JsonMappingExceptions to HttpMessageNotReadableException (and thus response status code 400) consistent with JsonParseExceptions
13 years ago
Rossen Stoyanchev
69bba30ed8
SPR-8429 Add test cases for missing header, cookie, and pathvar values
13 years ago
Chris Beams
e79e08d7f7
Prefer / or /app/* over /main in servlet examples
13 years ago
Arjen Poutsma
ac7d48e5a8
Fixing tests
13 years ago