fisache
9aa35a8b5f
Polish doc
...
Closes gh-1108
10 years ago
Arjen Poutsma
3e47fccf2b
Propagate IOExceptions in Servlet bridge
10 years ago
Arjen Poutsma
4390cd0c2b
Fixed Jaxb2CollectionHttpMessageConverterTests
...
- Added Woodstox before Aalto in the spring-web build, so that Woodstox
is used as StAX implementation, and not the less featured Aalto.
- Hardcoded Aalto dependency in XmlEventDecoder, instead of relying on
the StAX XMLInputFactory.
10 years ago
Rossen Stoyanchev
5d1b542698
Move spring-web-reactive classes to spring-web
10 years ago
Juergen Hoeller
84afc601b8
Configurable UrlPathHelper in PathExtensionContentNegotiationStrategy
...
This commit also aligns ResourceUrlProvider's and RequestMappingInfo's UrlPathHelper setter/getter signatures.
Issue: SPR-14454
10 years ago
Juergen Hoeller
a1f5fb53db
Java 8 getParameterCount() instead of getParameterTypes().length
...
Issue: SPR-13188
10 years ago
Juergen Hoeller
da9c24c41e
Polishing
10 years ago
Juergen Hoeller
102dc8a4dd
Polishing
10 years ago
Stephane Nicoll
e4b0486c5a
Add @FunctionalInterface on candidate interfaces
...
Issue: SPR-14432
10 years ago
Sam Brannen
1391248ea6
Introduce log4j 2 for Spring's test suite
...
This commit adds a test runtime dependency on log4j 2 for every project
and migrates all log4j.properties files to log4j2-test.xml files.
Issue: SPR-14431
10 years ago
Stephane Nicoll
00d2606b00
Explicit type can be replaced by <>
...
Issue: SPR-13188
10 years ago
Juergen Hoeller
b5db5d3aac
Broadly remove deprecated core classes and methods
...
Issue: SPR-14430
10 years ago
Juergen Hoeller
0fc0ce78ae
Drop deprecated dependencies on Log4j, JRuby, JExcel, Burlap, Commons Pool/DBCP
...
This commit also removes outdated support classes for Oracle, GlassFish, JBoss.
Issue: SPR-14429
10 years ago
Juergen Hoeller
51252ebbca
Avoid defensive checks against Java 8 API (java.util.Optional etc)
...
This commit also fixes broken javadoc links and code references.
Issue: SPR-13188
10 years ago
Juergen Hoeller
2b3445df81
Drop Portlet MVC support
...
This commit also removes the corresponding deprecated Servlet MVC variant and updates DispatcherServlet.properties to point to RequestMappingHandlerMapping/Adapter by default.
Issue: SPR-14129
10 years ago
Juergen Hoeller
ae0b7c26c5
Drop Servlet 2.5 runtime compatibility
...
Issue: SPR-13189
10 years ago
Juergen Hoeller
ccf791b63f
Deprecate OkHttp 2.x support
...
Issue: SPR-14344
10 years ago
Juergen Hoeller
447835465f
Remove support for deprecated AbstractHttpClient class
...
Issue: SPR-14422
10 years ago
Stephane Nicoll
037746da44
Polish
...
Closes gh-1097
10 years ago
Juergen Hoeller
1c73664c40
Defensively access deprecated AbstractHttpClient class from Apache HttpComponents
...
Issue: SPR-14422
10 years ago
Juergen Hoeller
66ec1c1618
Add missing package-info files for common packages
...
Issue: SPR-14420
10 years ago
Juergen Hoeller
772bc030ee
BasicAuthorizationInterceptor belongs to http.client.support
...
Issue: SPR-14412
10 years ago
Stephane Nicoll
db963bc556
Add BasicAuthorizationInterceptor
...
This commit adds a `ClientHttpRequestInterceptor` that applies a BASIC
authorization header for each request.
It can be used as follows:
```
BasicAuthorizationInterceptor basicAuthorization =
new BasicAuthorizationInterceptor("user", "secret");
restTemplate.getInterceptors().add(basicAuthorization);
```
Issue: SPR-14412
10 years ago
Rossen Stoyanchev
2cdcf752ba
MvcUriComponentsBuilder respects optional params
...
Issue: SPR-14405
10 years ago
Rossen Stoyanchev
e38623df87
Fix MediaType lookup for ResourceHttpRequestHandler
...
As of 4.3 ResourceHttpRequestHandler delegates to the configured
ContentNegotiationManager, or one created internally, to look up
the media type for are resource.
This commit ensures the internally created ContentNegotiationManager is
correctly injected with the ServletContext through which it can perform
lookups as before.
Also the ServletPathContentNegotiationStrategy now checks the
ServletContext first and then delegates to its parent the
PathContentNegotiationStrategy and not vice versa. This is
consistent with how handleNoMatch (also in the same class) works
and also matches how ResourceHttpRequestHandler worked before 4.3.
Issue: SPR-14368
10 years ago
Juergen Hoeller
15c96b8efd
ServletResponseHttpHeaders consistently overrides HttpHeaders again
...
Issue: SPR-14406
10 years ago
Rossen Stoyanchev
919f6c96f9
ForwardedHeaderFilter is case-insensitive
...
Issue: SPR-14372
10 years ago
Juergen Hoeller
dcb2c73102
MultipartResolutionDelegate skips Part parameter checks on Servlet 2.5
...
Issue: SPR-14358
10 years ago
Juergen Hoeller
1dfc0ffd43
SpringHandlerInstantiator supports all HandlerInstantiator-provided factory methods
...
Issue: SPR-14347
10 years ago
Juergen Hoeller
a211d1472e
Polishing
10 years ago
Juergen Hoeller
cc7781ecf3
FormHttpMessageConverter's charset (and its UTF-8 default) applies to part converters as well
...
Issue: SPR-14338
10 years ago
Juergen Hoeller
8fc84e2d6f
Upgrade to Jackson 2.8 RC1, Undertow 1.4 CR1, Netty 4.1.1
...
Issue: SPR-14340
Issue: SPR-14328
Issue: SPR-14143
10 years ago
Juergen Hoeller
981c894acf
@ExceptionHandler matches against cause type as well
...
Issue: SPR-14291
10 years ago
Juergen Hoeller
31aed61d15
CorsFilter asserts presence of CorsConfigurationSource
10 years ago
Juergen Hoeller
8c4bc3656b
Polishing
10 years ago
Juergen Hoeller
6807bcb863
Fixed @since references after SPR-14080 backport
...
Issue: SPR-14305
(cherry picked from commit 9a41774 )
10 years ago
Juergen Hoeller
c412eabb00
Jackson2ObjectMapperBuilder/FactoryBean accepts deserializers by handled type
...
Issue: SPR-14337
10 years ago
Juergen Hoeller
abcfffdde9
Allow JAXB to be registered next to plain Jackson
...
Issue: SPR-14336
10 years ago
Rossen Stoyanchev
c2a50ad1bf
Fine-tune X-Forwarded header in ForwardedHeaderFilter
...
The contextPathOverride property is now gone.
X-Forwarded-Header (if present) is used instead of the contextPath.
Issue: SPR-14270
10 years ago
Juergen Hoeller
521c41d75e
Polishing
10 years ago
Juergen Hoeller
7de61f80a7
AbstractRequestLoggingFilter supports logging of request headers
...
Issue: SPR-14245
10 years ago
Juergen Hoeller
ea728b15c8
Polishing
10 years ago
Rossen Stoyanchev
c74d979735
Rename contextPath method in ForwardedHeaderFilter
10 years ago
Rossen Stoyanchev
1f3ac340fa
Polish X-Forwarded-Prefix handling
...
Issue: SPR-14270
10 years ago
Eddú Meléndez
7ee687c798
Support X-Forwarded-Prefix in ForwardedHeaderFilter
...
See SPR-14270
10 years ago
Rossen Stoyanchev
92f1b69e8c
Update MultipartFilter documentations
...
Issue: SPR-11373
10 years ago
Juergen Hoeller
f7f2327f60
ServletServerHttpRequest.getHeaders() ignores invalid content type
...
Issue: SPR-14309
10 years ago
Johnny Lim
ace624a01a
Polish Javadoc in MediaType
...
Closes gh-1064
10 years ago
Rossen Stoyanchev
400206a2fe
Update @RestController javadoc
...
Issue: SPR-13945
10 years ago
Juergen Hoeller
5682950289
Polishing
10 years ago