Sam Brannen
66069333f1
Fix JUnit imports in SourceHttpMessageConverterTests
...
When org.junit.Assert.* is statically imported, the class does not
compile in Eclipse/STS since XMLAssert extends junit.framework.Assert.
12 years ago
Juergen Hoeller
8325b10080
Consistent formatting of license headers, package javadocs, and import declarations
12 years ago
Rossen Stoyanchev
956b66bbd4
Fix issue with async return value type determination
...
Before this change, the type of asynchronously produced return values
(e.g. Callable, DeferredResult, ListenableFuture) could not be
properly determined with an actual resulting value of null. Or even
with an actual value returned, the generic type could not be properly
determined. This change fixes both of those issues.
Issue: SPR-12287
12 years ago
Juergen Hoeller
c7e7d11156
Polishing
12 years ago
Juergen Hoeller
d501137f4e
Consistently accept empty Content-Type header and empty character encoding
...
Issue: SPR-12173
12 years ago
Juergen Hoeller
0fb8f0b469
Polishing
12 years ago
Juergen Hoeller
8760be7d64
ResponseEntity's HeadersBuilder allows for specifying existing HttpHeaders
...
Issue: SPR-12324
12 years ago
Brian Clozel
0a68d265fb
Polish indentation
12 years ago
Sebastien Deleuze
f518ad9009
Add (de)serializerByType() and mixIn() to Jackson2ObjectMapperBuilder
...
Issue: SPR-12313
12 years ago
Tadaya Tsuyukubo
25bb58a1e8
Add shortcuts for Jackson mix-in annotations registration
...
This commit adds support for direct Jackson mix-in annotations registration in
Jackson2ObjectMapperFactoryBean and Jackson2ObjectMapperBuilder.
Issue: SPR-12144
12 years ago
Juergen Hoeller
20a8416c2e
Jackson2ObjectMapperBuilder allows for regular constructor usage as well
...
Issue: SPR-12243
12 years ago
Juergen Hoeller
3a3c52dbdd
Polishing
12 years ago
Juergen Hoeller
d778037f40
Jackson2ObjectMapperFactoryBean builds on revised Jackson2ObjectMapperBuilder now
...
Issue: SPR-12243
12 years ago
Juergen Hoeller
69998e3d50
Remove outdated references to ContextLoaderServlet
...
Issue: SPR-7725
(cherry picked from commit b45d08f )
12 years ago
Sam Brannen
62fc39cca1
Suppress warnings in MappingJackson2XmlHttpMessageConverterTests
12 years ago
Sebastien Deleuze
77abe07807
Set Jackson DEFAULT_VIEW_INCLUSION property to false by default
...
Issue: SPR-12179
12 years ago
Sebastien Deleuze
42aef5f5dc
Set Jackson FAIL_ON_UNKNOWN_PROPERTIES property to false by default
...
Issue: SPR-11891
12 years ago
Sebastien Deleuze
4e24d66ff7
Create a builder for Jackson ObjectMapper
...
Jackson2ObjectMapperBuilder now allows to create ObjectMapper and XmlMapper
instances easily thanks to its fluent API.
This builder is used in Jackson message converters and views to instantiate default
ObjectMapper and XmlMapper.
This commit also add a createXmlMapper property to
Jackson2ObjectMapperFactoryBean in order to allow to create easily a XmlMapper
instance.
Issue: SPR-12243
12 years ago
Juergen Hoeller
7bc8e5199e
Polishing
12 years ago
Juergen Hoeller
7f43f02a13
FormHttpMessageConverter uses a delegate class for JavaMail-based MIME encoding (isolating the JavaMail API dependency)
...
Issue: SPR-12108
12 years ago
Juergen Hoeller
bf99d6a3b5
WebAsyncManager avoids concurrentResult.toString() and builds correct DeferredResultProcessingInterceptor keys
...
Issue: SPR-12253
12 years ago
Sam Brannen
24d09a3b8d
Fix Javadoc link to DEFAULT_NONE in @RequestMapping
12 years ago
Rossen Stoyanchev
2a64834a44
Fix test dependency
12 years ago
Rossen Stoyanchev
9be0cf21e5
Support writing multipart non-ASCII file names
...
Issue: SPR-12108
12 years ago
Rossen Stoyanchev
6cbe1433e2
Polish FormHttpMessageConverter
12 years ago
Juergen Hoeller
1f3e195dac
Polishing
12 years ago
Juergen Hoeller
cfc821d179
DataBinder unwraps Optional objects and allows for proper handling of Optional.empty()
...
Issue: SPR-12241
12 years ago
Brian Clozel
26326fb40b
Mention DEFAULT_NONE in @RequestMapping's Javadoc
...
This change mentions `ValueConstants.DEFAULT_NONE` in @RequestMapping's
Javadoc, in order to explain the default value.
Issue: SPR-9967
12 years ago
Brian Clozel
b9348bb89c
Fix Protobuf support - HTTP headers already written
...
Prior to this commit, the `ProtobufHttpMessageConverter` would call
`outputMessage.getBody()` at the beginning of the `writeInternal`
method, thus writing HTTP headers. Since this method is trying to write
"x-protobuf" headers after that, protobuf support wasn't working
properly for the default "x-protobuf" media type.
Thanks Toshiaki Maki for the repro project!
Also fixed:
* improve `MockHttpOutputMessage` behavior to reproduce the read-only
state of HTTP headers once they've been written.
Issue: SPR-12229
12 years ago
Sebastien Deleuze
2989fe4203
Support Jackson based XML serialization in RestTemplate
...
Issue: SPR-12225
12 years ago
Sam Brannen
4aa97f8945
Remove references to CommonsHttpInvokerRequestExecutor
12 years ago
Phillip Webb
2667956a30
Initialize JNDI to fix failing Environment test
...
Issue: SPR-12223
12 years ago
Juergen Hoeller
a833889c2a
Polishing
12 years ago
Juergen Hoeller
15320db414
Polishing
12 years ago
Juergen Hoeller
f394c8aa2a
Polishing
...
Issue: SPR-12196
12 years ago
Juergen Hoeller
26a93b6a33
Client request implementations enforce RFC 6265 (cookies in a single header)
...
Issue: SPR-12196
12 years ago
Juergen Hoeller
70412a9d0a
Accept empty Content-Type header
...
Issue: SPR-12173
12 years ago
Juergen Hoeller
1e7bfd91a7
Polishing
12 years ago
Juergen Hoeller
5790fc904a
Consistent support for java.util.Optional for all applicable handler method arguments
...
Issue: SPR-12171
12 years ago
Juergen Hoeller
c8bbd0bae4
Polishing
12 years ago
Juergen Hoeller
a5a56d5052
Polishing
12 years ago
Juergen Hoeller
81ba3b33f6
Dropped RequestEntity's template variable methods in order to remove dependencies on org.springframework.web
...
Instead, as outlined in the revised javadoc, let's recommend manual UriTemplate usage for RequestEntity URI input.
Issue: SPR-11752
12 years ago
Juergen Hoeller
d75f128752
Polishing
12 years ago
Juergen Hoeller
86b7118da8
Polishing
12 years ago
Juergen Hoeller
20c2ba35dc
Polishing
12 years ago
Juergen Hoeller
f4f7f40f18
Test for actual HttpInvokerProxyFactoryBean usage with plain FactoryBean return type
...
Issue: SPR-12141
12 years ago
Sebastien Deleuze
36542549fa
Add HTTP status to ServletRequestHandledEvent
...
Issue: SPR-12119
12 years ago
Rossen Stoyanchev
a0b231d36d
Update port related code in UriComponentsBuilder
...
Use null to indicate no port has been provided.
Raise exception when port has not been expanded.
Issue: SPR-12123
12 years ago
Sebastien Deleuze
8fbd310b07
Support port URI template variables
...
This commit makes it possible to specify port with an URI template variable.
For example :
RestTemplate restTemplate = new RestTemplate();
restTemplate.getForObject("http://localhost:{port}/resource ", String.class, 8080);
Issue: SPR-12123
12 years ago
Juergen Hoeller
b93dd95475
Polishing
12 years ago