Skip to content

Package: SOAPMessageHandler

SOAPMessageHandler

Coverage

1: /*
2: * Copyright (c) 2018, 2021 Oracle and/or its affiliates. All rights reserved.
3: *
4: * This program and the accompanying materials are made available under the
5: * terms of the Eclipse Distribution License v. 1.0, which is available at
6: * http://www.eclipse.org/org/documents/edl-v10.php.
7: *
8: * SPDX-License-Identifier: BSD-3-Clause
9: */
10:
11: package jakarta.jws.soap;
12:
13: @Deprecated public @interface SOAPMessageHandler {
14:
15: /**
16: * Name of the handler.Defaults to the name of the handler class.
17: *
18: * @return the name of the handler
19: */
20: String name() default "";
21:
22: /**
23: * Name of the handler class.
24: *
25: * @return the name of the handler class
26: */
27: String className();
28:
29: /**
30: * Array of name/value pairs that should be passed to the handler during initialization.
31: *
32: * @return the array of name/value pairs that should be passed to the handler during initialization
33: */
34: InitParam[] initParams() default {};
35:
36: /**
37: * List of SOAP roles/actors implemented by the handler.
38: *
39: * @return the list of SOAP roles/actors
40: */
41: String[] roles() default {};
42:
43: /**
44: * List of SOAP headers processed by the handler.
45: * Each element in this array contains a QName which defines the header element processed by the handler.
46: * The QNames are specified using the string notation described in the documentation
47: * for javax.xml.namespace.QName.valueOf(String qNameAsString).
48: *
49: * @return the list of SOAP headers processed by the handler
50: */
51: String[] headers() default {};
52: };
53:
54: