Juergen Hoeller
5e5bf7f518
Polishing
10 years ago
Arjen Poutsma
37b32d38bc
Use synchonous API for synchonous OkHttp requests
...
This commit changes the OkHttpClientHttpRequestFactory to use the
synchronous OkHttp API for non-async requests, as opposed to
synchronizing the async API (which it used to do).
Issue: SPR-13942
10 years ago
Juergen Hoeller
27c1280949
Consider negative contentLength() result as not resolvable
...
Issue: SPR-13571
10 years ago
Juergen Hoeller
8558cbc9bf
Polishing
10 years ago
Rossen Stoyanchev
b11d345c0d
Common base class for [Unknown]HttpStatusCodeException
...
Issue: SPR-13928
10 years ago
Juergen Hoeller
901c2d5f74
Consistent API between spring-web and spring-messaging HandlerMethod infrastructure
...
Issue: SPR-13929
10 years ago
Rossen Stoyanchev
902a7287f7
Fix NPE in InvocableHandlerMethod
...
Issue: SPR-13917
10 years ago
Rossen Stoyanchev
b49235ac59
BufferedImage converter writes Content-Type again
...
Issue: SPR-13906
10 years ago
Juergen Hoeller
e90310612f
Polishing
10 years ago
Rossen Stoyanchev
bedf1a9bd0
Polish UriTemplateTests
10 years ago
Rossen Stoyanchev
f5aa011722
UriComponents support for array query params
...
Issue: SPR-9712
10 years ago
Rossen Stoyanchev
2e7470b27f
Allow binding=false on @ModelAttribute
...
Issue: SPR-13402
10 years ago
Rossen Stoyanchev
806e79b14b
Polish
10 years ago
Rossen Stoyanchev
e62ada898b
Add @RequestAttribute with servlet-based support
...
Issue: SPR-13894
10 years ago
Rossen Stoyanchev
698f923fc3
Add @SessionAttribute with Servlet-based support
...
Issue: SPR-13894
10 years ago
Juergen Hoeller
b4f33adf48
Consistent java.util.Optional resolution, lenient handling of optional multipart files, correct Servlet 3.0 Part list/array selection
...
Issue: SPR-13418
Issue: SPR-13849
Issue: SPR-13850
Issue: SPR-13893
10 years ago
Sebastien Deleuze
a730e55d92
Add support for Jackson 2.7
...
AbstractJackson2HttpMessageConverter now implements its own
TypeVariable resolution algorithm since in Jackson 2.7 it is now
deprecated and has not the same behavior .
See https://github.com/FasterXML/jackson-databind/issues/1087
for more details.
The dependency on jackson-datatype-jdk7 has been removed since
it is now provided by default in the jackson-databind module.
Issues: SPR-13483, SPR-13728
10 years ago
Rossen Stoyanchev
d70ad765bf
Support HTTP HEAD
...
Issue: SPR-13130
10 years ago
Rossen Stoyanchev
9cc518d167
Polish StringHttpMessageConverterTests
10 years ago
Rossen Stoyanchev
9e16cbda4c
Polish ServletServerHttpRequest change
10 years ago
Sammy Chu
5185953f29
Avoid double encoding URI in ServletServerHttpRequest
...
Issue: SPR-13876
10 years ago
Rossen Stoyanchev
a5f4aa6824
Add HttpStatus to ModelAndView
...
Issue: SPR-13560
10 years ago
Rossen Stoyanchev
73a794336c
Support @ResponseStatus on controller type level
...
Issue: SPR-13547
10 years ago
Stephane Nicoll
2fc2c29e9a
Update copyright header
10 years ago
Rossen Stoyanchev
037f351efd
Replace anonymous impls with ListenableFutureAdapater
...
Before this change AsyncRestTemplate had two anonymous implementations
of ListenableFuture that were adapting the result. Those have been
replaces with ListenableFutureAdapter.
This commit is preparation for SPR-13785.
10 years ago
Ian Chan
93298fc9fa
Catch RejectedExecutionException in WebAsyncManager
...
Issue: SPR-13836
10 years ago
Rossen Stoyanchev
7690f27c5e
Add MediaType constants for application/pdf
...
Issue: SPR-13831
10 years ago
Rossen Stoyanchev
f3c2bb6557
Fix error message in RestTemplate
...
Issue: SPR-13860
10 years ago
Rossen Stoyanchev
e56587dcc3
Add note to @CrossOrigin javadoc
...
Issue: SPR-13857
10 years ago
Juergen Hoeller
773d175681
Polishing
10 years ago
Dennis Kieselhorst
554bf4958d
Improve Content-Length exception message
...
In case ShallowEtagHeaderFilter is not used, the message was confusing
10 years ago
Brian Clozel
cdda839426
XML configuration support for RFC 5861
...
This commit adds the XML+XSD configuration part of the RFC 5861
Cache-Control directives added in Spring's `CacheControl`.
Issue: SPR-13841
10 years ago
madorb
6c282096c6
Add RFC-5681 support to CacheControl
...
This commit adds the "stale-while-revalidate" and "stale-if-error"
Cache-Control directives in the `CacheControl` support class.
Issue: SPR-13841
10 years ago
Brian Clozel
9e4cf85af7
Add HTTP Status 451 UNavailable for legal reasons
...
Issue: SPR-13632
10 years ago
Rossen Stoyanchev
63958ac0ff
Fix concurrent test failure
...
Since ListenableFuture callbacks are invoked after the future is set,
we cannot rely on callbacks having taken place right after a call
to future.get(). This change adds a CountdownLatch to detect when
the callbacks were invoked.
Issue: SPR-12538
10 years ago
Rossen Stoyanchev
bc671f05d6
Fix test warnings
10 years ago
Rossen Stoyanchev
258cc7b27f
Update AsyncRestTemplate interception
...
AsyncRequestExecution now properly supports decoration of the
request (URI, HTTP method, and headers).
Removed a no-op IdentityListenableFutureAdapter.
Use Spring Framework coding style.
Issue: SPR-12538
10 years ago
Jakub Narloch
12969f6268
SPR-12538 AsyncRestTemplate interceptors
10 years ago
Rossen Stoyanchev
12b73caa84
Add @RestControllerAdvice
...
Issue: SPR-13673
10 years ago
Juergen Hoeller
2e6eb614b5
Avoid scoped destruction callbacks in case of no post-processor actually applying
...
Issue: SPR-13744
10 years ago
Juergen Hoeller
3d87718fc6
DispatcherServlet and ServletWrapping/ForwardingController accept any HTTP method by default
...
Issue: SPR-4799
10 years ago
Juergen Hoeller
760668c034
Polishing
10 years ago
Sam Brannen
5b3edcd9f9
Spring Cleaning in December
...
- Delete unused imports
- Delete unused code
- Clean up warnings
10 years ago
Juergen Hoeller
8ce5e88c66
Require Jackson 2.6+, FreeMarker 2.3.21+, XStream 1.4.5+
...
Issue: SPR-13062
10 years ago
Juergen Hoeller
7f7f24949b
Polishing
10 years ago
Juergen Hoeller
11806b9215
Class identity comparisons wherever possible (and further polishing)
...
Issue: SPR-12926
10 years ago
Juergen Hoeller
4261f34b63
Consistent and lenient HttpMethod resolution across all web modules
...
Issue: SPR-13776
10 years ago
Juergen Hoeller
1585a822d6
Javadoc fixes
...
Issue: SPR-13765
10 years ago
Juergen Hoeller
b1ef6ece9f
AbstractRequestLoggingFilter unwraps request to find ContentCachingRequestWrapper
...
Issue: SPR-13764
10 years ago
Juergen Hoeller
20beace1bf
AnnotationConfigWebApplicationContext allows for custom AnnotatedBeanDefinitionReader/ClassPathBeanDefinitionScanner
...
Issue: SPR-9324
10 years ago