Javadoc
This commit is contained in:
@@ -23,8 +23,9 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Marks an endpoint method as the handler for an incoming request. The annotation value signifies the value for the
|
||||
* request WS-Addressing <code>Action</code> header that is handled by the method.
|
||||
* Marks an endpoint method as the handler for an incoming request. The annotation value
|
||||
* signifies the value for the request WS-Addressing {@code Action} header that is
|
||||
* handled by the method.
|
||||
*
|
||||
* @author Arjen Poutsma
|
||||
* @since 1.5.0
|
||||
@@ -34,16 +35,22 @@ import java.lang.annotation.Target;
|
||||
@Target(ElementType.METHOD)
|
||||
public @interface Action {
|
||||
|
||||
/** Signifies the value for the request WS-Addressing <code>Action</code> header that is handled by the method. */
|
||||
String value();
|
||||
/**
|
||||
* Signifies the value for the request WS-Addressing {@code Action} header that
|
||||
* is handled by the method.
|
||||
*/
|
||||
String value();
|
||||
|
||||
/** Signifies the value for the response WS-Addressing <code>Action</code> header that is provided by the method. */
|
||||
String output() default "";
|
||||
/**
|
||||
* Signifies the value for the response WS-Addressing {@code Action} header that
|
||||
* is provided by the method.
|
||||
*/
|
||||
String output() default "";
|
||||
|
||||
/**
|
||||
* Signifies the value for the fault response WS-Addressing <code>Action</code> header that is provided by the
|
||||
* method.
|
||||
*/
|
||||
String fault() default "";
|
||||
/**
|
||||
* Signifies the value for the fault response WS-Addressing {@code Action} header
|
||||
* that is provided by the method.
|
||||
*/
|
||||
String fault() default "";
|
||||
|
||||
}
|
||||
|
||||
@@ -23,9 +23,10 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Marks an endpoint with a WS-Addressing <code>Address</code>. If this annotation is applied, the {@link #value()} is
|
||||
* compared to the {@link org.springframework.ws.soap.addressing.core.MessageAddressingProperties#getTo() destination}
|
||||
* property of the incominging message.
|
||||
* Marks an endpoint with a WS-Addressing {@code Address}. If this annotation is
|
||||
* applied, the {@linkplain #value() value} is compared to the
|
||||
* {@link org.springframework.ws.soap.addressing.core.MessageAddressingProperties#getTo()
|
||||
* destination} property of the incoming message.
|
||||
*
|
||||
* @author Arjen Poutsma
|
||||
* @since 1.5.0
|
||||
@@ -35,12 +36,10 @@ import java.lang.annotation.Target;
|
||||
@Target(ElementType.TYPE)
|
||||
public @interface Address {
|
||||
|
||||
/**
|
||||
* The value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an
|
||||
* autodetected component.
|
||||
*
|
||||
* @return the suggested component name, if any
|
||||
*/
|
||||
String value();
|
||||
/**
|
||||
* Signifies the value for the request WS-Addressing destination that
|
||||
* is handled by the class.
|
||||
*/
|
||||
String value();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user