Chris Beams
2f7c2230f0
Include license.txt and notice.txt in module JARs
2011-02-09 06:56:40 +00:00
Chris Beams
b4fea47d5c
Introduce FeatureSpecification support
...
Introduce FeatureSpecification interface and implementations
FeatureSpecification objects decouple the configuration of
spring container features from the concern of parsing XML
namespaces, allowing for reuse in code-based configuration
(see @Feature* annotations below).
* ComponentScanSpec
* TxAnnotationDriven
* MvcAnnotationDriven
* MvcDefaultServletHandler
* MvcResources
* MvcViewControllers
Refactor associated BeanDefinitionParsers to delegate to new impls above
The following BeanDefinitionParser implementations now deal only
with the concern of XML parsing. Validation is handled by their
corresponding FeatureSpecification object. Bean definition creation
and registration is handled by their corresponding
FeatureSpecificationExecutor type.
* ComponentScanBeanDefinitionParser
* AnnotationDrivenBeanDefinitionParser (tx)
* AnnotationDrivenBeanDefinitionParser (mvc)
* DefaultServletHandlerBeanDefinitionParser
* ResourcesBeanDefinitionParser
* ViewControllerBeanDefinitionParser
Update AopNamespaceUtils to decouple from XML (DOM API)
Methods necessary for executing TxAnnotationDriven specification
(and eventually, the AspectJAutoProxy specification) have been
added that accept boolean arguments for whether to proxy
target classes and whether to expose the proxy via threadlocal.
Methods that accepted and introspected DOM Element objects still
exist but have been deprecated.
Introduce @FeatureConfiguration classes and @Feature methods
Allow for creation and configuration of FeatureSpecification objects
at the user level. A companion for @Configuration classes allowing
for completely code-driven configuration of the Spring container.
See changes in ConfigurationClassPostProcessor for implementation
details.
See Feature*Tests for usage examples.
FeatureTestSuite in .integration-tests is a JUnit test suite designed
to aggregate all BDP and Feature* related tests for a convenient way
to confirm that Feature-related changes don't break anything.
Uncomment this test and execute from Eclipse / IDEA. Due to classpath
issues, this cannot be compiled by Ant/Ivy at the command line.
Introduce @FeatureAnnotation meta-annotation and @ComponentScan impl
@FeatureAnnotation provides an alternate mechanism for creating
and executing FeatureSpecification objects. See @ComponentScan
and its corresponding ComponentScanAnnotationParser implementation
for details. See ComponentScanAnnotationIntegrationTests for usage
examples
Introduce Default[Formatting]ConversionService implementations
Allows for convenient instantiation of ConversionService objects
containing defaults appropriate for most environments. Replaces
similar support originally in ConversionServiceFactory (which is now
deprecated). This change was justified by the need to avoid use
of FactoryBeans in @Configuration classes (such as
FormattingConversionServiceFactoryBean). It is strongly preferred
that users simply instantiate and configure the objects that underlie
our FactoryBeans. In the case of the ConversionService types, the
easiest way to do this is to create Default* subtypes. This also
follows convention with the rest of the framework.
Minor updates to util classes
All in service of changes above. See diffs for self-explanatory
details.
* BeanUtils
* ObjectUtils
* ReflectionUtils
2011-02-08 14:42:33 +00:00
Arjen Poutsma
c4a954a618
SPR-7494 - Introduce interceptors for RestTemplate
2011-01-28 14:24:52 +00:00
Arjen Poutsma
62425568b9
SPR-7494 - Introduce interceptors for RestTemplate
2011-01-28 09:17:00 +00:00
Juergen Hoeller
b3f039ae5f
Servlet/PortletRequestDataBinder perform unwrapping for MultipartRequest as well (SPR-7795)
2011-01-26 20:09:42 +00:00
Arjen Poutsma
4835be78b7
Made abstract requests public again
2011-01-26 16:09:41 +00:00
Arjen Poutsma
4e50eafe74
Small performance improvement
2011-01-26 14:43:34 +00:00
Arjen Poutsma
1ed1c59888
SPR-7909 - Sending large payloads with RestTemplate results in an OutOfMemoryError
2011-01-25 16:18:47 +00:00
Arjen Poutsma
d0d6a07870
SPR-7909 - Sending large payloads with RestTemplate results in an OutOfMemoryError
2011-01-25 16:08:15 +00:00
Arjen Poutsma
33674933ea
OutOfMemory Errors when posting large objects via RestTemplate
2011-01-25 09:48:19 +00:00
Arjen Poutsma
465e093bfb
SPR-7729 - MediaType incorrectly calls the toString() method instead of name() method causing RestTemplate on Android to fail
2011-01-10 15:45:42 +00:00
Arjen Poutsma
4998d061f8
SPR-7869 - Accept-Charset header with '*' results in java.nio.charset.IllegalCharsetNameException
2011-01-10 11:24:48 +00:00
Chris Beams
a7293d2961
Introduce ApplicationContextInitializer interface
...
Designed primarily for use in conjunction with web applications
to provide a convenient mechanism for configuring the container
programmatically.
ApplicationContextInitializer implementations are specified through the
new "contextInitializerClasses" servlet context parameter, then detected
and invoked by ContextLoader in its customizeContext() method.
In any case, the semantics of ApplicationContextInitializer's
initialize(ConfigurableApplicationContext) method require that
invocation occur *prior* to refreshing the application context.
ACI implementations may also implement Ordered/PriorityOrdered and
ContextLoader will sort instances appropriately prior to invocation.
Specifically, this new support provides a straightforward way to
programmatically access the container's Environment for the purpose
of adding, removing or otherwise manipulating PropertySource objects.
See Javadoc for further details.
Also note that ApplicationContextInitializer semantics overlap to
some degree with Servlet 3.0's notion of ServletContainerInitializer
classes. As Spring 3.1 development progresses, we'll likely see
these two come together and further influence one another.
2011-01-07 09:57:57 +00:00
Chris Beams
15ac99f59c
Introduce and integrate JndiPropertySource
...
DefaultWebEnvironment automatically adds a JndiPropertySource if
a "jndiPropertySourceEnabled" property is detected in any of the
other other default property sources.
2011-01-06 07:43:29 +00:00
Chris Beams
bc41cb2f27
Polish (Mutable)PropertySources
...
* PropertySources is now an Iterable<PropertySource> in favor of
exposing an asList() method
* Otherwise reduced the set of methods exposed by PropertySources to the
absolute minimum
* Added Javadoc for both types and all methods
2011-01-05 22:25:24 +00:00
Chris Beams
2b99cf6d29
Refactor Environment and PropertySource
...
* Environment now extends PropertyResolver
* Environment no longer exposes resolver and sources
* PropertySource is String,Object instead of String,String
* PropertySource no longer assumes enumerability of property names
* Introduced EnumerablePropertySource for those that do have enumerable property names
2011-01-05 22:24:14 +00:00
Arjen Poutsma
74b5b7b56a
SPR-7845 - FormHttpMessageConverter.read() always ignores post data when processing request (from Tomcat)
2011-01-04 11:25:30 +00:00
Arjen Poutsma
e5d8fa0771
SPR-7834 - HttpHeaders.getEtag() mangles the value
2011-01-03 15:51:23 +00:00
Arjen Poutsma
fbede64c86
SPR-7845 - FormHttpMessageConverter.read() always ignores post data when processing request (from Tomcat)
2011-01-03 14:48:34 +00:00
Arjen Poutsma
e98afc087f
SPR-7845 - FormHttpMessageConverter.read() always ignores post data when processing request (from Tomcat)
2011-01-03 14:38:28 +00:00
Chris Beams
5e6912302a
Introduce "Aware" superinterface
...
All existing *Aware interfaces have been refactored to extend this
new marker interface, serving two purposes:
* Easy access to a type hierarchy that can answer the question
"What *Aware interfaces are available?", without requiring
text-based searches. Also clearly excludes false positives like
TargetClassAware and ParamAware, which while similarly named,
are not semantically similar to traditional *Aware interfaces
in Spring.
* Minor potential performance improvements in
AbstractAutowireCapableBeanFactory and
ApplicationContextAwareProcessor. Both have blocks of sequential
instanceof checks in order to invoke any *Aware interface callback
methods. For a bean that implements none of these interfaces,
the whole sequence can be avoided by guarding first with
if (bean instanceof Aware) {
...
}
Implementors of custom *Aware-style interfaces (and presumably
the BeanPostProcessors that handle them), are encouraged to refactor to
extending this interface for consistency with the framework as well as
the points above.
2011-01-03 10:13:57 +00:00
Chris Beams
b3ff9be78f
M1 cut of environment, profiles and property work (SPR-7508)
...
Decomposed Environment interface into PropertySources, PropertyResolver
objects
Environment interface and implementations are still present, but
simpler.
PropertySources container aggregates PropertySource objects;
PropertyResolver provides search, conversion, placeholder
replacement. Single implementation for now is
PropertySourcesPlaceholderResolver
Renamed EnvironmentAwarePropertyPlaceholderConfigurer to
PropertySourcesPlaceholderConfigurer
<context:property-placeholder/> now registers PSPC by default, else
PPC if systemPropertiesMode* settings are involved
Refined configuration and behavior of default profiles
See Environment interface Javadoc for details
Added Portlet implementations of relevant interfaces:
* DefaultPortletEnvironment
* PortletConfigPropertySource, PortletContextPropertySource
* Integrated each appropriately throughout Portlet app contexts
Added protected 'createEnvironment()' method to AbstractApplicationContext
Subclasses can override at will to supply a custom Environment
implementation. In practice throughout the framework, this is how
Web- and Portlet-related ApplicationContexts override use of the
DefaultEnvironment and swap in DefaultWebEnvironment or
DefaultPortletEnvironment as appropriate.
Introduced "stub-and-replace" behavior for Servlet- and Portlet-based
PropertySource implementations
Allows for early registration and ordering of the stub, then
replacement with actual backing object at refresh() time.
Added AbstractApplicationContext.initPropertySources() method to
support stub-and-replace behavior. Called from within existing
prepareRefresh() method so as to avoid impact with
ApplicationContext implementations that copy and modify AAC's
refresh() method (e.g.: Spring DM).
Added methods to WebApplicationContextUtils and
PortletApplicationContextUtils to support stub-and-replace behavior
Added comprehensive Javadoc for all new or modified types and members
Added XSD documentation for all new or modified elements and attributes
Including nested <beans>, <beans profile="..."/>, and changes for
certain attributes type from xsd:IDREF to xsd:string
Improved fix for detecting non-file based Resources in
PropertiesLoaderSupport (SPR-7547, SPR-7552)
Technically unrelated to environment work, but grouped in with
this changeset for convenience.
Deprecated (removed) context:property-placeholder
'system-properties-mode' attribute from spring-context-3.1.xsd
Functionality is preserved for those using schemas up to and including
spring-context-3.0. For 3.1, system-properties-mode is no longer
supported as it conflicts with the idea of managing a set of property
sources within the context's Environment object. See Javadoc in
PropertyPlaceholderConfigurer, AbstractPropertyPlaceholderConfigurer
and PropertySourcesPlaceholderConfigurer for details.
Introduced CollectionUtils.toArray(Enumeration<E>, A[])
Work items remaining for 3.1 M2:
Consider repackaging PropertySource* types; eliminate internal use
of SystemPropertyUtils and deprecate
Further work on composition of Environment interface; consider
repurposing existing PlaceholderResolver interface to obviate need
for resolve[Required]Placeholder() methods currently in Environment.
Ensure configurability of placeholder prefix, suffix, and value
separator when working against an AbstractPropertyResolver
Add JNDI-based Environment / PropertySource implementatinos
Consider support for @Profile at the @Bean level
Provide consistent logging for the entire property resolution
lifecycle; consider issuing all such messages against a dedicated
logger with a single category.
Add reference documentation to cover the featureset.
2011-01-03 09:04:34 +00:00
Sam Brannen
b130a36af7
[SPR-7850][SPR-7851] Upgraded to JUnit 4.8.1 and TestNG 5.12.1; added changelog entries for 3.1.0.M1.
2010-12-30 08:00:58 +00:00
Chris Beams
9f5fd3afcf
Normalize indentation of Apache license URL
...
In accordance with recommendations at
http://www.apache.org/licenses/LICENSE-2.0.html .
A number of classes had strayed from this format, now all
are the same.
2010-12-22 21:40:19 +00:00
Arjen Poutsma
64c7549c70
Removed JDK 1.6 usage
2010-12-22 10:23:34 +00:00
Arjen Poutsma
9f4499cb36
SPR-7789 - FormHttpMessageConverter does not honor the charset in the content type when writing a form and uses a wrong default charset
2010-12-20 16:56:14 +00:00
Arjen Poutsma
d0394599ad
SPR-7789 - FormHttpMessageConverter does not honor the charset in the content type when writing a form and uses a wrong default charset
2010-12-20 16:50:44 +00:00
Arjen Poutsma
db3634f859
SPR-7706 - 304 responses should not have non-0 Content-Length
2010-12-20 16:32:58 +00:00
David Syer
b73224427f
Add missing ROME dep
2010-11-15 16:49:17 +00:00
Arjen Poutsma
01120eb2f0
Using random port for HTTP integration tests
2010-11-09 10:40:51 +00:00
Arjen Poutsma
416777022d
SPR-6614 - Add human-readable descriptions for statuc codes in HttpStatus
2010-10-29 10:56:43 +00:00
Arjen Poutsma
7cc3f49910
SPR-7695 - Add ETag version of WebRequest.checkNotModified()
2010-10-29 10:28:47 +00:00
Chris Beams
f480333d31
Merge 3.1.0 development branch into trunk
...
Branch in question is 'env' branch from git://git.springsource.org/sandbox/cbeams.git; merged into
git-svn repository with:
git merge -s recursive -Xtheirs --no-commit env
No merge conflicts, but did need to
git rm spring-build
prior to committing.
With this change, Spring 3.1.0 development is now happening on SVN
trunk. Further commits to the 3.0.x line will happen in an as-yet
uncreated SVN branch. 3.1.0 snapshots will be available
per the usual nightly CI build from trunk.
2010-10-25 19:48:20 +00:00
Arjen Poutsma
a37a9e8a38
SPR-7667
2010-10-20 13:59:37 +00:00
Arjen Poutsma
c5c1d70aa3
SPR-6291 - UrlPathHelper is too aggressive decoding URLs
2010-10-12 12:09:43 +00:00
Juergen Hoeller
3740380a7a
polishing
2010-10-11 20:03:40 +00:00
Juergen Hoeller
cb434793d5
avoid double flushing of ObjectOutputStream when close is being called right afterwards anyway
2010-10-11 20:00:45 +00:00
Juergen Hoeller
ae3cfff380
fixed JodaTimeContextHolder to use a non-inheritable ThreadLocal and expose a reset method (SPR-7441); use of remove() even when being called with a null argument
2010-10-11 18:55:21 +00:00
Juergen Hoeller
6b3c299a50
consistent handling of handler methods, init binder methods and model attribute methods (SPR-7355)
2010-10-10 21:01:04 +00:00
Arjen Poutsma
21cca695e5
Polishing
2010-10-06 12:05:11 +00:00
Arjen Poutsma
70cb81b4b5
SPR-7591 - HttpStatusCodeException should contain response body
2010-09-24 10:06:52 +00:00
Juergen Hoeller
a3f155220b
UriTemplate is serializable now (SPR-7541)
2010-09-14 05:37:30 +00:00
Juergen Hoeller
284f98f12a
fixed @MVC processing of parameter-level annotations to work with interface-based proxies again (SPR-7483)
2010-09-08 14:45:00 +00:00
Juergen Hoeller
a251d6a6cc
revised @RequestParam processing to support CSV-to-array/collection binding with ConversionService (SPR-7479)
2010-09-08 12:39:57 +00:00
Arjen Poutsma
b67da6c3f8
Granting Keith's wish
2010-09-03 08:50:45 +00:00
Juergen Hoeller
e56cfb8173
consistent use of JDK 1.5's ThreadLocal.remove() over ThreadLocal.set(null), preventing leaks (SPR-7441)
2010-09-01 17:17:25 +00:00
Juergen Hoeller
66a5bb7c22
JaxWsPortClientInterceptor does not fall back to annotation-specified name as portName anymore (SPR-7505)
2010-09-01 14:02:32 +00:00
Ben Hale
7730e76c06
Publishing license and notice files
2010-08-23 13:17:31 +00:00
Arjen Poutsma
dbfa049e1e
Prepping for 3.0.5
2010-08-19 11:04:04 +00:00
Juergen Hoeller
e4792aaf33
polishing
2010-08-16 21:24:21 +00:00
Juergen Hoeller
9b3fbc2333
WebDataBinder and @MVC request param binding detect and introspect MultipartFile arrays as well (SPR-2784)
2010-08-15 23:20:55 +00:00
Juergen Hoeller
d1afb29074
Servlet/PortletContextResource inherit isReadable, contentLength and lastModified from AbstractFileResolvingResource
2010-08-15 22:57:37 +00:00
Juergen Hoeller
b2b1ff60dd
CommonsMultipartResolver cleans up all multipart files in case of multiple files for same name as well (SPR-2784)
2010-08-15 22:52:54 +00:00
Juergen Hoeller
255d1ad434
WebDataBinder and @MVC request param binding detect and introspect MultipartFile arrays as well (SPR-2784)
2010-08-15 22:51:02 +00:00
Juergen Hoeller
5b0448c609
MockMultipartHttpServletRequest pre-defines method "POST" and content type "multipart/form-data"
2010-08-15 22:46:15 +00:00
Juergen Hoeller
1841b14b21
consistent mocks between modules
2010-08-15 22:02:40 +00:00
Juergen Hoeller
19fcbeafb4
renamed UriUtilsTest to UriUtilsTests
2010-08-15 22:01:33 +00:00
Juergen Hoeller
ace7b072f1
fixed accidental change to byte array loop
2010-08-15 21:43:24 +00:00
Juergen Hoeller
fd159246ed
polishing
2010-08-15 21:26:43 +00:00
Juergen Hoeller
2516bc0faf
polishing
2010-08-15 21:24:35 +00:00
Juergen Hoeller
35971f9f90
revised handler method resolution, in particular with respect to generic interfaces (SPR-7355)
2010-08-15 21:12:54 +00:00
Juergen Hoeller
f6c07b371f
revised DispatcherServlet's last-modified handling to properly work with scoped controllers; added HEAD support to ResourceHttpRequestHandler
2010-08-12 22:54:24 +00:00
Juergen Hoeller
29b12adbaa
revised web scoping tests
2010-08-12 22:49:26 +00:00
Arjen Poutsma
ac1d2d93d6
SPR-7439 - JSON (jackson) @RequestBody marshalling throws awkward exception
2010-08-11 08:16:12 +00:00
Juergen Hoeller
af0fac9099
JaxWsPortProxyFactoryBean takes "wsdlDocumentUrl", "namespaceUri" etc defaults from @WebService (SPR-7412)
2010-08-02 21:44:14 +00:00
Arjen Poutsma
60fa490b50
Typo
2010-07-22 09:31:01 +00:00
Arjen Poutsma
f8425a5f7b
SPR-7346 - @RequestHeader negation expressions (e.g. !Accept=text/plain) are not applied
2010-07-15 08:49:18 +00:00
Arjen Poutsma
8d5662ec7a
typo
2010-06-24 11:52:44 +00:00
Arjen Poutsma
c059f53823
SPR-7305 - o.s.http.client.SimpleClientHttpRequestFactory does not allow to specify a java.net.Proxy
2010-06-24 11:42:28 +00:00
Arjen Poutsma
3160ddf0e8
SPR-7314 - RestTemplate does not handle null uri template parameters
2010-06-24 09:33:06 +00:00
Juergen Hoeller
7faf4a6713
AbstractJaxWsServiceExporter supports "bindingType" bean property, overriding @BindingType; AbstractJaxWsServiceExporter supports "webServiceFeatures" bean property on JAX-WS 2.2
2010-06-23 19:55:47 +00:00
Juergen Hoeller
037c277351
@MVC handler methods reliably resolve MultipartRequest arguments with HiddenHttpMethodFilter (SPR-7296)
2010-06-20 18:45:42 +00:00
Arjen Poutsma
b31c34ed7d
Upgrading version to 3.0.4
2010-06-15 14:18:29 +00:00
Juergen Hoeller
96b1dc9db4
ConversionService fully supports conversion from String to MediaType now (through 'valueOf'; SPR-7282); revised exception handling in ObjectToObjectConverter, avoiding InvocationTargetExceptions
2010-06-14 23:23:49 +00:00
Juergen Hoeller
2f4453a99c
revised Portlet SessionStatus.setComplete() to avoid re-exposure of attributes in render phase (SPR-6126); shortened implicit model render parameter name to "implicitModel" (SPR-7149)
2010-06-09 20:09:53 +00:00
Arjen Poutsma
723f94fd0e
SPR-7263 - TypeMismatchException instead of IllegalArgumentException: argument type mismatch for wrong RequestBody
2010-06-09 10:35:41 +00:00
Juergen Hoeller
12cffc68c8
added XmlAwareFormHttpMessageConverter, taking over the 3.0.2-introduced XML multipart support (avoiding a package cycle)
2010-06-07 23:18:34 +00:00
Juergen Hoeller
632c0e7c5e
added XmlAwareFormHttpMessageConverter, taking over the 3.0.2-introduced XML multipart support (avoiding a package cycle)
2010-06-07 22:59:48 +00:00
Juergen Hoeller
4cef52a86f
polishing
2010-06-07 22:21:22 +00:00
Arjen Poutsma
ae56f3a361
SPR-7211 - Extend HttpMessage interface to expose requestURL
2010-05-18 11:12:54 +00:00
Juergen Hoeller
a8ed98255f
ServletContextResourcePatternResolver handles "/WEB-INF/lib/*.jar!/**/context.xml" style patterns (SPR-7198)
2010-05-17 12:41:32 +00:00
Luke Taylor
27be8434f1
Rolled-back accidental .classpath changes
2010-05-14 16:23:48 +00:00
Luke Taylor
3f885d0302
Added DomUtils.getChildElements() method. Also refactored ConfigBeanDefinitionParser.parse() to use it.
2010-05-14 16:07:39 +00:00
Juergen Hoeller
a1e4f4f406
MVC mappings properly apply even to welcome file entries that forward to a DispatcherServlet (SPR-7143)
2010-05-12 20:15:40 +00:00
Juergen Hoeller
fa7472c057
MockHttpServletResponse supports multiple includes (SPR-7188)
2010-05-12 14:07:25 +00:00
Juergen Hoeller
4955a73047
added support for JAX-WS 2.1 WebServiceFeatures to JaxWsPortClientInterceptor/PortProxyFactoryBean (SPR-5712)
2010-05-12 12:32:03 +00:00
Arjen Poutsma
dd8c18188f
SPR-7160 - ShallowEtagHeaderFilter not adding ETag
2010-05-03 08:58:20 +00:00
Arjen Poutsma
f8a05da1c9
SPR-7146 - AppEngine : bug with SimpleClientHttpResponse.getHeaders
2010-04-29 09:20:44 +00:00
Arjen Poutsma
c2707150b1
SPR-7135 - org.springframework.http.MediaType#checkParameters fails to process a Content-Type like application/xml;charset="utf-8"
2010-04-27 08:26:51 +00:00
Juergen Hoeller
3dbe38e418
added check for WebSphere's compliance mode (SPR-7064)
2010-04-21 18:42:59 +00:00
Arjen Poutsma
1e34e2725a
SPR-7107 - RestTemplate/UriTemplate/UriUtils improperly encoding UTF-8
2010-04-21 07:55:56 +00:00
Costin Leau
7790dedff2
+ disable some of the WAS failing tests
2010-04-21 07:38:54 +00:00
Costin Leau
5af6d917e9
SPR-7064
...
+ fix method name
2010-04-20 13:33:16 +00:00
Costin Leau
ea9eb853fa
SPR-7064
...
+ added unit tests for WAS with complaint setting
2010-04-20 13:32:02 +00:00
Costin Leau
05360c095c
SPR-7064
...
+ unit tests containing the differences between WAS and Tomcat
2010-04-20 12:12:57 +00:00
Juergen Hoeller
69c4cdf975
remove trailing servlet path slash on WebSphere only (SPR-7064)
2010-04-20 11:15:47 +00:00
Arjen Poutsma
3f6cc3f552
Added more tests.
2010-04-20 10:03:05 +00:00
Arjen Poutsma
b25462ddf9
SPR-7107 - RestTemplate/UriTemplate/UriUtils improperly encoding UTF-8
2010-04-19 08:28:10 +00:00
David Syer
eb7f8309e2
Update version in POMs to 3.0.3
2010-04-15 10:26:14 +00:00
Juergen Hoeller
385298b808
JSP FormTag calculates proper default form action even when using a rewrite filter on WebSphere (SPR-7067)
2010-04-12 14:59:27 +00:00
Juergen Hoeller
d34d8764b0
fixed getOriginatingQueryString javadoc (SPR-7072)
2010-04-07 13:51:46 +00:00
Arjen Poutsma
b5b60cafb7
SPR-7063 - MappingJacksonHttpMessageConverter breaks with Jackson 1.0.x
2010-04-06 11:39:50 +00:00
Arjen Poutsma
5105793228
javadoc
2010-04-01 10:14:20 +00:00
Arjen Poutsma
689e7b7af2
Introduced ResponseEntity, for access to the response status code
2010-04-01 10:08:51 +00:00
Juergen Hoeller
461b488eee
polishing
2010-03-31 15:36:35 +00:00
Juergen Hoeller
20f4e9023b
UrlPathHelper cuts off trailing servlet-path slashes for root mappings (on WebSphere; SPR-7052)
2010-03-31 14:02:27 +00:00
Juergen Hoeller
ad78b5cdb5
polishing
2010-03-30 23:35:13 +00:00
Juergen Hoeller
de84703c02
@ExceptionHandler methods consistently receive original exception as thrown by user methods
2010-03-30 23:28:21 +00:00
Juergen Hoeller
b67b5ec408
clarified applicability of @ExceptionHandler in Portlet environments (SPR-6959)
2010-03-30 21:27:40 +00:00
Juergen Hoeller
0eabef0720
added filter ordering comments (SPR-6594)
2010-03-30 10:46:51 +00:00
Juergen Hoeller
2c9753ad25
NativeWebRequest detects native MultipartRequest even when decorated (SPR-6594)
2010-03-30 10:24:39 +00:00
Juergen Hoeller
fa719ad4c5
restored compatibility with Servlet 2.4 containers on all VMs (SPR-7044)
2010-03-29 13:17:49 +00:00
Arjen Poutsma
63dc53a5ea
SPR-6861 - enable overwriting of createHttpInputMessage and createHttpOutputMessage in AnnotationMethodHandlerAdapter
2010-03-29 12:25:49 +00:00
Arjen Poutsma
a6d5d7c8e2
javadoc
2010-03-29 11:21:55 +00:00
Arjen Poutsma
122e4346bb
Documented HttpEntity
2010-03-29 11:12:45 +00:00
Arjen Poutsma
124837e2c3
Added @Override annotations.
2010-03-25 13:02:19 +00:00
Arjen Poutsma
753a54096f
SPR-7000 - AnnotationMethodHandlerAdapter gives priority to media type order over quality when selecting a method
2010-03-25 12:29:52 +00:00
Chris Beams
247c46e6ea
SPR-7002: updated .classpath and pom to reflect new dependency upgrade from Jackson 1.0.0->1.4.2
2010-03-24 09:03:39 +00:00
Juergen Hoeller
915ca47cad
updated to Jackson 1.4.2
2010-03-24 09:01:55 +00:00
Arjen Poutsma
212daa1995
SPR-7002 - RestTemplate fails to convert properly for Generic Type Container with MappingJacksonHttpMessageConverter
2010-03-23 11:15:13 +00:00
Arjen Poutsma
f7ac7a395c
SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params
2010-03-23 09:50:47 +00:00
Arjen Poutsma
465e84eda4
Revert: SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params
2010-03-23 08:52:59 +00:00
Arjen Poutsma
c9289a4dcf
SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params
2010-03-22 14:31:27 +00:00
Arjen Poutsma
b07d02f1bf
SPR-7018 - Support for HttpEntity<?> in @MVC
2010-03-22 10:23:39 +00:00
Christian Dupuis
2e5f1c22f6
fixed Eclipse classpath file
2010-03-14 17:58:46 +00:00
Chris Beams
cf93e7c69e
Fixed typo in javadoc on HttpRequestHandler
2010-03-14 11:26:06 +00:00
Arjen Poutsma
4880d1d461
SPR-6976 - Add debug log for HttpMessageConverter usage
2010-03-12 17:46:50 +00:00
Arjen Poutsma
85b8befbd1
SPR-6970 - AbstractHttpMessageConverter canWrite logic the wrong way round??
2010-03-12 16:43:57 +00:00
Arjen Poutsma
991c982e5b
SPR-5866 - RestTemplate - access to Request Headers
2010-03-12 09:07:29 +00:00
Juergen Hoeller
eee72c52da
mention actual endpoint address in connect failure exception message (SPR-6971)
2010-03-11 21:26:10 +00:00
Arjen Poutsma
b0e3081636
SPR-5866 - RestTemplate - access to Request Headers
2010-03-11 17:41:30 +00:00
Arjen Poutsma
886eb665bf
SPR-5866 - RestTemplate - access to Request Headers
2010-03-11 17:35:08 +00:00
Arjen Poutsma
70ee2ee7b1
SPR-5866 - RestTemplate - access to Request Headers
2010-03-11 17:33:54 +00:00
Arjen Poutsma
f3f535623f
Fixing the build
2010-03-11 16:54:47 +00:00
Arjen Poutsma
63076d0865
SPR-6969 - Introduce HttpEntity
2010-03-11 16:42:25 +00:00
Arjen Poutsma
fc0a6ce40c
Javadoc
2010-03-11 14:19:30 +00:00
Arjen Poutsma
88773ae7f1
a HTTP -> an HTTP
2010-03-11 12:57:52 +00:00
Arjen Poutsma
af4b22e5b9
SPR-5904 - Merged multipart support into FormHttpMessageConverter
2010-03-10 17:31:02 +00:00
Arjen Poutsma
def90d1016
SPR-5904 - Multipart/mixed requests using RestTemplate
2010-03-10 13:53:29 +00:00
Arjen Poutsma
f588ab05fa
Added readonly version of HttpHeaders
2010-03-10 10:00:03 +00:00
Arjen Poutsma
0efb9d8023
SPR-5904 - Multipart/mixed requests using RestTemplate
2010-03-09 16:15:41 +00:00
Arjen Poutsma
5303ab68aa
Atom Feed HttpMessageConverter
2010-03-05 14:32:36 +00:00
Arjen Poutsma
c91ff130d5
SPR-6946 - RestTemplate should not encode fragments (#'s)
2010-03-05 11:40:52 +00:00
Juergen Hoeller
cfbc5224e3
fixed exception propagation issue with Hessian 4.0 (SPR-6899)
2010-03-04 22:22:47 +00:00
Juergen Hoeller
57993d871e
WebApplicationObjectSupport's initServletContext will be called only once in any scenario (SPR-6914)
2010-03-03 16:26:47 +00:00
Arjen Poutsma
d207c2294d
Fixed wrong encoding of URI templates with @-signs (SPR-6874)
2010-03-02 11:30:36 +00:00
Arjen Poutsma
e653a9cd03
javadoc
2010-03-02 10:53:15 +00:00
David Syer
1a351db6e0
Update Central POMs to 3.0.2
2010-02-21 15:32:18 +00:00
Juergen Hoeller
44ef114981
fixed @RequestParam(required=false) regression for @InitBinder methods (SPR-6878)
2010-02-20 16:14:14 +00:00
Juergen Hoeller
5063c6dd00
upgraded to Hibernate Validator 4.0.2 and Jackson 1.4.2
2010-02-19 13:58:19 +00:00
Costin Leau
8d0bb00188
+ make use or property placeholders inside template.mf
2010-02-19 09:43:22 +00:00
Arjen Poutsma
68b4c7df6e
SPR-6752 - RestTemplate throws IllegalArgumentException when HTTP status is not in the HttpStatus enum
2010-02-18 11:15:17 +00:00
Juergen Hoeller
54acebd086
UriTemplate properly quotes variable values (SPR-6854)
2010-02-17 21:58:56 +00:00
Juergen Hoeller
4ae1709313
relaxed generic Class declaration in HttpMessageConverter's canRead/canWrite/read signatures (SPR-6848)
2010-02-16 17:46:16 +00:00
Juergen Hoeller
db2d323d96
store a static WebApplicationContext reference if the Spring jars get deployed in the same web application as the ContextLoader (SPR-5652)
2010-02-15 17:58:52 +00:00
Juergen Hoeller
97059f4e18
@RequestParam/RequestHeader/CookieValue's defaultValue allows for declaring empty String (SPR-6791)
2010-02-15 12:10:55 +00:00
Juergen Hoeller
4778c4b750
support for Hessian 4.0.x (SPR-6041)
2010-02-04 18:36:21 +00:00
Juergen Hoeller
5f166f6799
added warning about annotated controller interfaces (SPR-6655)
2010-02-04 15:52:15 +00:00
Juergen Hoeller
56e119e822
@SessionAttributes works when used on an annotated controller interface with AOP proxying (SPR-6797)
2010-02-04 15:39:58 +00:00
Arjen Poutsma
7832381dd2
SPR-6788: fixed compareTo() consistency with equals
2010-02-04 14:19:11 +00:00
Costin Leau
0fd4a45070
+ upgrade to AspectJ 1.6.8
...
+ externalize some of the jar versions
+ align the versions of some dependencies between pom.xml and ivy.xml
2010-02-04 11:46:21 +00:00
Arjen Poutsma
2047b9b6b3
SPR-6788: fixed compareTo() consistency with equals
2010-02-04 11:08:09 +00:00
Arjen Poutsma
44626054ce
SPR-6786: added more checks for quality factors & charsets
2010-02-04 09:47:52 +00:00
Arjen Poutsma
6e21c17253
SPR-6788 - The class MediaType has a natural ordering that is inconsistent with equals, which is generally recommended or should otherwise at least be indicated in the javadoc
2010-02-03 14:02:44 +00:00
Arjen Poutsma
0135a9451a
SPR-6786 - The method org.springframework.http.MediaType.parseMediaType does not always throw IllegalArgumentException as the documentantion claims
2010-02-03 13:52:39 +00:00
Arjen Poutsma
0c6b99e489
SPR-6788 - The class MediaType has a natural ordering that is inconsistent with equals, which is generally recommended or should otherwise at least be indicated in the javadoc
2010-02-03 11:38:31 +00:00
Arjen Poutsma
4343714c6d
SPR-6788 - The class MediaType has a natural ordering that is inconsistent with equals, which is generally recommended or should otherwise at least be indicated in the javadoc
2010-02-02 13:14:19 +00:00
Arjen Poutsma
f2fdf9fa6b
SPR-6771 - HttpMessageConverter should accept Class<? extends T> on can read
2010-01-28 09:23:34 +00:00
Chris Beams
1cda8cb6fa
Updated documentation to point out that AnnotationConfigWebApplicationContext can accept both fully-qualified class names as well as base packages to the contextConfigLocation init-param.
2010-01-28 03:42:42 +00:00
Arjen Poutsma
0a4a09a09d
SPR-6759 - Jetty 7 doesn't like ShallowEtagHeaderFilter
2010-01-27 13:02:02 +00:00
Juergen Hoeller
0a6f2348b8
WebRequest is a resolvable dependency in Servlet/Portlet web application contexts (SPR-6727)
2010-01-20 22:09:13 +00:00
Arjen Poutsma
8d5fc2bf91
SPR-6686 - @ResponseBody throws HttpMediaTypeNotAcceptableException if client accepts "*/*"
2010-01-15 10:23:59 +00:00
David Syer
b077d5ba97
SPR-6678: fix poms for 3.0.1
2010-01-13 11:07:08 +00:00
Juergen Hoeller
b5b1962530
removed MultipartRequest mixin interface again (avoiding a package dependency cycle)
2009-12-15 00:51:32 +00:00
Juergen Hoeller
59d9f73f46
ignore client proxies for export
2009-12-13 23:50:48 +00:00
Juergen Hoeller
1b8a67d5d7
reimplemented bean lookup to avoid getBeanNamesForType(Object.class)
2009-12-13 23:30:07 +00:00
David Syer
143ce57e76
SPR-6541: consolidate repositories into a profile (-P build)
2009-12-11 06:23:46 +00:00
Juergen Hoeller
1e1964a060
reintroduced createBinder template method in Servlet/Portlet AnnotationMethodHandlerAdapter (SPR-6534)
2009-12-09 22:29:43 +00:00
Chris Beams
481dd31006
Renamed tests for AnnotationConfig[Web]ApplicationContext; added tests for scan() and register() methods.
2009-12-08 15:29:27 +00:00
Arjen Poutsma
27e0642543
SPR-6502 - Broken @RequestMapping inheritance
2009-12-07 16:44:51 +00:00
Juergen Hoeller
f36e8252c8
polishing
2009-12-07 09:43:16 +00:00
Juergen Hoeller
0ea5b5ef0b
opened up RestTemplate method signatures to Map<String, ?> and Object array instead of enforcing String values
2009-12-04 18:29:53 +00:00
David Syer
1202f67cc8
SPR-5327: tweak the ivy.xml so that commons-logging is a separate configuration. It already comes out as optional in the generated poms (including core), which isn't great, but I can't see what is causing that
2009-12-04 18:25:31 +00:00
Sam Brannen
4093935275
JavaDoc polishing
2009-12-02 09:34:12 +00:00
David Syer
b7e37ddb07
SPR-5327: tidy up Maven dependencies (keeping commons-logging)
2009-11-30 12:57:11 +00:00
David Syer
1a06b6a0ab
SPR-5327: tidy up Maven dependencies (keeping commons-logging)
2009-11-30 12:56:25 +00:00
Arjen Poutsma
e664779f3e
Do not require bound classes or context for Jaxb2Marshaller.
...
RestTemplate now registers JAXB2 and Jackson by default, if found on the classpath.
2009-11-27 14:34:27 +00:00
Arjen Poutsma
01ce468ff2
SPR-6386 - MappingJacksonHttpMessageConverter ignores supported media types property
2009-11-27 14:14:13 +00:00
Arjen Poutsma
dc0613f487
HttpMessageConverter.supports() is split into canRead/canWrite.
...
HttpMessageConverter.write() now allows for a specific content type.
2009-11-27 13:23:15 +00:00
Arjen Poutsma
8546e64b03
Support for media subtype suffixes in include(), i.e. application/*+xml includes application/soap+xml
2009-11-26 10:41:22 +00:00
Arjen Poutsma
ef50082cad
SPR-6280 - PathVariable resolution does not work properly
2009-11-24 13:53:37 +00:00
Juergen Hoeller
46cd083976
added chaining-capable "add" method to MutablePropertyValues
2009-11-19 22:30:35 +00:00
Arjen Poutsma
a5be9c5cf5
Changing umlaut to unicode sequence
2009-11-13 01:49:56 +00:00
Arjen Poutsma
60d2fdfcea
SPR-6188 - UriTemplate: Insufficient handling of characters that need to be escaped.
2009-11-13 01:27:54 +00:00
Juergen Hoeller
9d59db7944
reintroduced DEFAULT_COOKIE_MAX_AGE in deprecated form (for binary compatibility; SPR-6276)
2009-11-12 14:25:14 +00:00
Juergen Hoeller
f595b67618
avoid early Log4J initialization (SPR-6288)
2009-11-12 14:10:35 +00:00
Arjen Poutsma
077055c8f2
SPR-6291 - UrlPathHelper is too aggressive decoding URLs
2009-11-09 12:15:17 +00:00
Costin Leau
9a111e504f
SPR-6194
...
+ add setter for servlet minor version to MockServletContext
2009-11-09 11:51:30 +00:00
Arjen Poutsma
d415d36192
Renamed Md5HashUtils to DigestUtils
2009-11-06 11:52:53 +00:00
Arjen Poutsma
8de34c6fa7
SPR-6301 - Support @RequestHeader on HttpHeaders parameters
2009-11-05 15:42:24 +00:00
Arjen Poutsma
c812cd370b
Fixing test
2009-11-05 13:44:52 +00:00
Arjen Poutsma
db252cd0af
SPR-6303 - Add more logging to RestTemplate
2009-11-05 13:32:14 +00:00
Arjen Poutsma
f1075c7b04
javadoc.
2009-11-05 10:17:37 +00:00
Keith Donald
0df1bac33c
since 3.0
2009-11-04 17:33:09 +00:00
Keith Donald
0a78287a8f
formatters now plugged into unified type conversion api with formatter specific registry spi
2009-11-04 00:08:47 +00:00
Keith Donald
470302ecc6
javadoc
2009-10-30 20:35:29 +00:00
Keith Donald
913bc03a3b
ui.format system refining from RC1 feedback: Support for one format annotation applying to multiple field types, Printer/Parser building blocks for more flexibility, full Joda time formatting support, FormattingService as a service entry-point for clients to use
2009-10-30 18:44:40 +00:00
Arjen Poutsma
f839969b6c
javadoc.
2009-10-29 12:32:17 +00:00
Arjen Poutsma
2288b2523e
SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params
2009-10-29 11:18:43 +00:00
David Syer
b580696550
Exclude Jetty version of servlet API
2009-10-28 13:43:55 +00:00
David Syer
bce723d9e3
SPR-6246: split up Velocity test cases for neatness. Add fix for bug in exception creation in VelocityView.
2009-10-28 13:43:27 +00:00
Arjen Poutsma
d0893c425e
SPR-6247 - Multipart Content-Type charset is ignored in CommonsFileUploadSupport.
2009-10-27 11:42:36 +00:00
Juergen Hoeller
8a09c8e7da
reworked ConfigurationClass(Web)ApplicationContext into AnnotationConfig(Web)ApplicationContext; revised BeansException signatures
2009-10-23 17:46:16 +00:00
Juergen Hoeller
87b2f23692
updated version ranges for javax.el and javax.inject
2009-10-23 17:26:12 +00:00
Juergen Hoeller
a83756f771
deprecated remoting support for JAX-RPC (in favor of JAX-WS)
2009-10-20 18:35:35 +00:00
Juergen Hoeller
a429e230b6
revised version checks and exception signatures
2009-10-20 16:53:24 +00:00
Sam Brannen
c399cb1b27
fixed typos
2009-10-19 18:23:51 +00:00
Arjen Poutsma
17d5b31af3
SPR-6206 - When looking up methods with @RequestMapping annotation, unannotated bridge methods are included
2009-10-14 12:24:04 +00:00
Sam Brannen
52ad49b3ae
fixed typo and JavaDoc polishing.
2009-10-14 10:48:00 +00:00
Sam Brannen
0f06771249
fixed typo
2009-10-14 10:45:17 +00:00
Arjen Poutsma
8738fd7b7b
SPR-6177 - HttpHeadersTests fails with non-english locale
2009-10-14 09:53:25 +00:00
Juergen Hoeller
84447cdf94
DataBinder activates autoGrowNestedPaths by default; fixed enum binding with WebRequestDataBinder
2009-10-13 20:55:57 +00:00
Juergen Hoeller
49b647ca93
check against MultipartRequest mixin interface
2009-10-13 20:51:01 +00:00
Arjen Poutsma
06286b19ce
Added URI variant methods to the RestTemplate.
2009-10-13 14:20:24 +00:00
Chris Beams
d020d73118
SPR-6186: removed remaining duplicate check for @Configuration
2009-10-06 04:30:26 +00:00
Chris Beams
cbadf350e1
Continued progress on SPR-5682: Provide dedicated ApplicationContext implementations for use with @Configuration classes
...
Resolved sub-task SPR-6186: Eliminate duplicate code between ConfigurationClassApplicationContext and ConfigurationClassWebApplicationContext
2009-10-06 01:38:16 +00:00
Chris Beams
fd8935ba0b
SPR-5682:
...
* polishing for ConfigurationClassApplicationContext & tests
* added ConfigurationClassWebApplicationContext & tests
* next: refactoring out duplications between ConfigurationClassApplicationContext & ConfigurationClassWebApplicationContext
2009-10-05 05:27:30 +00:00
Juergen Hoeller
4d29f65a9c
@Event/ResourceMapping uniquely mapped to through event/resource id, even across controllers (SPR-6062); type-level @RequestMapping header conditions validated in Portlet environments as well
2009-09-25 14:45:35 +00:00
Juergen Hoeller
9cb1338b94
all @SessionAttributes get exposed to the model before handler method execution; MultipartRequest is available as a mixin interface on (Native)WebRequest as well
2009-09-25 10:42:49 +00:00
Juergen Hoeller
6fe0e36fe0
polishing
2009-09-25 09:59:17 +00:00
Juergen Hoeller
ce4e3784d1
updated dependencies
2009-09-25 09:58:54 +00:00
Juergen Hoeller
09e6a85edd
fixed overview files
2009-09-25 08:47:18 +00:00
Mark Pollack
c6cd1a528e
SPR-6119 - Add slf4j dependency back to orm's pom.xml but in test scope as it is needed to run tests that use Hibernate
...
SPR-5956 - Remove commons-logging dependency definitions in pom.xml for all but spring-core so as to make exclusion rule easier for user who use slf4j
2009-09-25 05:16:55 +00:00
Juergen Hoeller
5c1b0e6caf
removed classes which are not used in 3.0 yet
2009-09-24 22:54:35 +00:00
Juergen Hoeller
8eca898d44
removed outdated "cacheJspExpressions" feature from ExpressionEvaluationUtils
2009-09-24 15:56:00 +00:00
Mark Pollack
bd098ce1db
pom maintenance - sync with ivy.xml
...
update junit version in ivy.xml for org.sf.aspects
2009-09-24 06:09:54 +00:00
Juergen Hoeller
64bf3b74b5
revised Hessian/Burlap exception clauses (SPR-5897)
2009-09-23 19:35:44 +00:00
Mark Pollack
4f94f45ec4
pom maintenance
2009-09-21 07:37:30 +00:00
Juergen Hoeller
2a0d68cb5c
restored getMostSpecificMethod's traversal of the inheritance hierarchy
2009-09-15 22:31:08 +00:00
Arjen Poutsma
429d78b902
javadoc.
2009-09-15 11:02:44 +00:00
Arjen Poutsma
9f19e5e73b
Polish
2009-09-15 09:17:10 +00:00
Juergen Hoeller
bb70c9a4c4
@RequestParam and co support placeholders and expressions in their defaultValue attributes (SPR-5922); @Value expressions supported as MVC handler method arguments as well (against request scope)
2009-09-14 10:48:15 +00:00
Arjen Poutsma
ee0a59d464
Test -> Tests
2009-09-14 10:24:42 +00:00
Juergen Hoeller
a86a698e5b
initial JSR-303 Bean Validation support; revised ConversionService and FormatterRegistry
2009-09-07 23:58:42 +00:00
Juergen Hoeller
1045847cf7
updated to CGLIB 2.2 and EHCache 1.6.2
2009-09-07 18:04:27 +00:00
Juergen Hoeller
d0c8545d9b
updated setCookieMaxAge to match getCookieMaxAge return type (SPR-6070)
2009-09-03 12:15:19 +00:00
Juergen Hoeller
8754f0bc85
updated dependencies
2009-08-31 11:25:54 +00:00
Arjen Poutsma
66a799552f
SPR-2784: Support MultipartFile-array property
2009-08-28 09:15:19 +00:00
Juergen Hoeller
fee838a65e
support for default "conversionService" bean in an ApplicationContext; revised formatting package, now integrated with DataBinder and AnnotationMethodHandlerAdapter; revised AccessControlContext access from BeanFactory
2009-08-24 13:30:42 +00:00
Arjen Poutsma
3b7691d525
SPR-6008 - @ResponseStatus on @ExceptionHandler method is ignored
2009-08-18 14:37:23 +00:00