@ -236,7 +236,9 @@ public class MappingJackson2MessageConverter extends AbstractMessageConverter {
@@ -236,7 +236,9 @@ public class MappingJackson2MessageConverter extends AbstractMessageConverter {
@ -166,7 +166,9 @@ public class MarshallingMessageConverter extends AbstractMessageConverter {
@@ -166,7 +166,9 @@ public class MarshallingMessageConverter extends AbstractMessageConverter {
@ -122,12 +122,16 @@ public abstract class AbstractMessageSendingTemplate<D> implements MessageSendin
@@ -122,12 +122,16 @@ public abstract class AbstractMessageSendingTemplate<D> implements MessageSendin
@ -76,7 +76,9 @@ public abstract class AbstractNamedValueMethodArgumentResolver implements Handle
@@ -76,7 +76,9 @@ public abstract class AbstractNamedValueMethodArgumentResolver implements Handle
@ -68,7 +68,9 @@ public class HandlerMethodArgumentResolverComposite implements HandlerMethodArgu
@@ -68,7 +68,9 @@ public class HandlerMethodArgumentResolverComposite implements HandlerMethodArgu
@ -88,7 +88,9 @@ public class SimpMessageHeaderAccessor extends NativeMessageHeaderAccessor {
@@ -88,7 +88,9 @@ public class SimpMessageHeaderAccessor extends NativeMessageHeaderAccessor {
@ -231,7 +231,7 @@ public class SimpMessagingTemplate extends AbstractMessageSendingTemplate<String
@@ -231,7 +231,7 @@ public class SimpMessagingTemplate extends AbstractMessageSendingTemplate<String
@ -433,7 +433,9 @@ public class DefaultSubscriptionRegistry extends AbstractSubscriptionRegistry {
@@ -433,7 +433,9 @@ public class DefaultSubscriptionRegistry extends AbstractSubscriptionRegistry {
@ -101,6 +98,7 @@ public class AnnotationExceptionHandlerMethodResolverTests {
@@ -101,6 +98,7 @@ public class AnnotationExceptionHandlerMethodResolverTests {
@ -509,7 +511,9 @@ public class StompBrokerRelayMessageHandlerIntegrationTests {
@@ -509,7 +511,9 @@ public class StompBrokerRelayMessageHandlerIntegrationTests {
@ -160,7 +160,9 @@ final class HttpComponentsAsyncClientHttpRequest extends AbstractBufferingAsyncC
@@ -160,7 +160,9 @@ final class HttpComponentsAsyncClientHttpRequest extends AbstractBufferingAsyncC
@ -79,8 +79,8 @@ public abstract class AbstractGenericHttpMessageConverter<T> extends AbstractHtt
@@ -79,8 +79,8 @@ public abstract class AbstractGenericHttpMessageConverter<T> extends AbstractHtt
@ -332,7 +332,9 @@ public class FormHttpMessageConverter implements HttpMessageConverter<MultiValue
@@ -332,7 +332,9 @@ public class FormHttpMessageConverter implements HttpMessageConverter<MultiValue
@ -70,22 +70,30 @@ public class SpringHandlerInstantiator extends HandlerInstantiator {
@@ -70,22 +70,30 @@ public class SpringHandlerInstantiator extends HandlerInstantiator {
@ -96,31 +104,41 @@ public class SpringHandlerInstantiator extends HandlerInstantiator {
@@ -96,31 +104,41 @@ public class SpringHandlerInstantiator extends HandlerInstantiator {
@ -40,20 +40,26 @@ public class AllEncompassingFormHttpMessageConverter extends FormHttpMessageConv
@@ -40,20 +40,26 @@ public class AllEncompassingFormHttpMessageConverter extends FormHttpMessageConv
@ -50,7 +50,8 @@ public class HttpMediaTypeNotSupportedException extends HttpMediaTypeException {
@@ -50,7 +50,8 @@ public class HttpMediaTypeNotSupportedException extends HttpMediaTypeException {
this(contentType,supportedMediaTypes,"Content type '"+(contentType!=null?contentType:"")+"' not supported");
this(contentType,supportedMediaTypes,"Content type '"+
(contentType!=null?contentType:"")+"' not supported");
}
/**
@ -59,7 +60,9 @@ public class HttpMediaTypeNotSupportedException extends HttpMediaTypeException {
@@ -59,7 +60,9 @@ public class HttpMediaTypeNotSupportedException extends HttpMediaTypeException {
@ -114,8 +115,8 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -114,8 +115,8 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -126,7 +127,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -126,7 +127,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
Assert.notNull(restTemplate,"RestTemplate must not be null");
this.syncTemplate=restTemplate;
setAsyncRequestFactory(requestFactory);
@ -236,7 +239,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -236,7 +239,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -246,13 +251,17 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -246,13 +251,17 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -287,7 +296,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -287,7 +296,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -323,8 +334,8 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -323,8 +334,8 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -335,15 +346,19 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -335,15 +346,19 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -374,14 +389,18 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -374,14 +389,18 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -406,8 +425,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -406,8 +425,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -415,8 +435,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -415,8 +435,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -424,8 +445,8 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -424,8 +445,8 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -433,8 +454,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -433,8 +454,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -443,8 +465,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -443,8 +465,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -453,8 +476,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -453,8 +476,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -474,15 +498,17 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -474,15 +498,17 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -500,7 +526,8 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -500,7 +526,8 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -651,7 +678,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@@ -651,7 +678,9 @@ public class AsyncRestTemplate extends org.springframework.http.client.support.I
@ -61,7 +61,9 @@ public class RequestHandledEvent extends ApplicationEvent {
@@ -61,7 +61,9 @@ public class RequestHandledEvent extends ApplicationEvent {
@ -77,8 +79,8 @@ public class RequestHandledEvent extends ApplicationEvent {
@@ -77,8 +79,8 @@ public class RequestHandledEvent extends ApplicationEvent {
@ -58,8 +58,8 @@ public class DefaultCorsProcessor implements CorsProcessor {
@@ -58,8 +58,8 @@ public class DefaultCorsProcessor implements CorsProcessor {
@ -100,7 +100,9 @@ public class RequestParamMethodArgumentResolver extends AbstractNamedValueMethod
@@ -100,7 +100,9 @@ public class RequestParamMethodArgumentResolver extends AbstractNamedValueMethod
@ -72,7 +72,9 @@ public class HandlerMethodArgumentResolverComposite implements HandlerMethodArgu
@@ -72,7 +72,9 @@ public class HandlerMethodArgumentResolverComposite implements HandlerMethodArgu
@ -76,7 +76,9 @@ public class StandardMultipartHttpServletRequest extends AbstractMultipartHttpSe
@@ -76,7 +76,9 @@ public class StandardMultipartHttpServletRequest extends AbstractMultipartHttpSe
@ -381,7 +381,9 @@ public class PathPattern implements Comparable<PathPattern> {
@@ -381,7 +381,9 @@ public class PathPattern implements Comparable<PathPattern> {
@ -98,8 +98,8 @@ public class PatternParseException extends IllegalArgumentException {
@@ -98,8 +98,8 @@ public class PatternParseException extends IllegalArgumentException {
MISSING_OPEN_CAPTURE("Missing preceeding open capture character before variable name'{'"),
ILLEGAL_NESTED_CAPTURE("Not allowed to nest variable captures"),
CANNOT_HAVE_ADJACENT_CAPTURES("Adjacent captures are not allowed"),
ILLEGAL_CHARACTER_AT_START_OF_CAPTURE_DESCRIPTOR("Character ''{0}'' is not allowed at start of captured variable name"),
ILLEGAL_CHARACTER_IN_CAPTURE_DESCRIPTOR("Character ''{0}'' is not allowed in a captured variable name"),
ILLEGAL_CHARACTER_AT_START_OF_CAPTURE_DESCRIPTOR("Char ''{0}'' not allowed at start of captured variable name"),
ILLEGAL_CHARACTER_IN_CAPTURE_DESCRIPTOR("Char ''{0}'' is not allowed in a captured variable name"),
NO_MORE_DATA_EXPECTED_AFTER_CAPTURE_THE_REST("No more pattern data allowed after '{*...}' pattern element"),
BADLY_FORMED_CAPTURE_THE_REST("Expected form when capturing the rest of the path is simply '{*...}'"),
MISSING_REGEX_CONSTRAINT("Missing regex constraint on capture"),
@ -102,7 +102,10 @@ public class Jackson2JsonEncoderTests extends AbstractDataBufferAllocatingTestCa
@@ -102,7 +102,10 @@ public class Jackson2JsonEncoderTests extends AbstractDataBufferAllocatingTestCa
@ -100,8 +105,13 @@ public class MappingJackson2HttpMessageConverterTests {
@@ -100,8 +105,13 @@ public class MappingJackson2HttpMessageConverterTests {
@ -179,8 +189,13 @@ public class MappingJackson2HttpMessageConverterTests {
@@ -179,8 +189,13 @@ public class MappingJackson2HttpMessageConverterTests {
@ -200,8 +215,13 @@ public class MappingJackson2HttpMessageConverterTests {
@@ -200,8 +215,13 @@ public class MappingJackson2HttpMessageConverterTests {
@ -82,15 +82,20 @@ public class Jaxb2RootElementHttpMessageConverterTests {
@@ -82,15 +82,20 @@ public class Jaxb2RootElementHttpMessageConverterTests {
@Test
publicvoidcanRead()throwsException{
assertTrue("Converter does not support reading @XmlRootElement",converter.canRead(RootElement.class,null));
assertTrue("Converter does not support reading @XmlType",converter.canRead(Type.class,null));
assertTrue("Converter does not support reading @XmlRootElement",
converter.canRead(RootElement.class,null));
assertTrue("Converter does not support reading @XmlType",
converter.canRead(Type.class,null));
}
@Test
publicvoidcanWrite()throwsException{
assertTrue("Converter does not support writing @XmlRootElement",converter.canWrite(RootElement.class,null));
assertTrue("Converter does not support writing @XmlRootElement subclass",converter.canWrite(RootElementSubclass.class,null));
assertTrue("Converter does not support writing @XmlRootElement subclass",converter.canWrite(rootElementCglib.getClass(),null));
assertTrue("Converter does not support writing @XmlRootElement",
converter.canWrite(RootElement.class,null));
assertTrue("Converter does not support writing @XmlRootElement subclass",
@ -65,7 +65,14 @@ public class MappingJackson2XmlHttpMessageConverterTests {
@@ -65,7 +65,14 @@ public class MappingJackson2XmlHttpMessageConverterTests {
@ -57,7 +57,9 @@ public class MockExpressionEvaluator extends javax.servlet.jsp.el.ExpressionEval
@@ -57,7 +57,9 @@ public class MockExpressionEvaluator extends javax.servlet.jsp.el.ExpressionEval
@ -65,7 +67,8 @@ public class MockExpressionEvaluator extends javax.servlet.jsp.el.ExpressionEval
@@ -65,7 +67,8 @@ public class MockExpressionEvaluator extends javax.servlet.jsp.el.ExpressionEval
Assert.isNull(variableResolver,"Custom VariableResolver not supported");
@ -73,15 +76,17 @@ public class MockExpressionEvaluator extends javax.servlet.jsp.el.ExpressionEval
@@ -73,15 +76,17 @@ public class MockExpressionEvaluator extends javax.servlet.jsp.el.ExpressionEval
@ -248,8 +249,8 @@ public class RestTemplateIntegrationTests extends AbstractMockWebServerTestCase
@@ -248,8 +249,8 @@ public class RestTemplateIntegrationTests extends AbstractMockWebServerTestCase
@ -71,8 +71,9 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@@ -71,8 +71,9 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@ -88,8 +89,9 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
@@ -88,8 +89,9 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping