|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2013 the original author or authors. |
|
|
|
|
* Copyright 2002-2015 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
|
@ -22,7 +22,6 @@ import java.util.Map;
@@ -22,7 +22,6 @@ import java.util.Map;
|
|
|
|
|
import org.springframework.core.MethodParameter; |
|
|
|
|
import org.springframework.messaging.Message; |
|
|
|
|
import org.springframework.messaging.MessageHeaders; |
|
|
|
|
import org.springframework.messaging.handler.annotation.Header; |
|
|
|
|
import org.springframework.messaging.handler.annotation.Headers; |
|
|
|
|
import org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver; |
|
|
|
|
import org.springframework.messaging.support.MessageHeaderAccessor; |
|
|
|
|
@ -32,7 +31,7 @@ import org.springframework.util.ReflectionUtils;
@@ -32,7 +31,7 @@ import org.springframework.util.ReflectionUtils;
|
|
|
|
|
/** |
|
|
|
|
* Resolves the following method parameters: |
|
|
|
|
* <ul> |
|
|
|
|
* <li>Parameters assignable to {@link Map} annotated with {@link Header @Headers} |
|
|
|
|
* <li>Parameters assignable to {@link Map} annotated with {@link Headers @Headers} |
|
|
|
|
* <li>Parameters of type {@link MessageHeaders} |
|
|
|
|
* <li>Parameters assignable to {@link MessageHeaderAccessor} |
|
|
|
|
* </ul> |
|
|
|
|
|