src/share/jaxws_classes/javax/xml/ws/soap/AddressingFeature.java

changeset 368
0989ad8c0860
parent 286
f50545b5e2f1
child 637
9c07ef4934dd
equal deleted inserted replaced
366:8c0b6bccfe47 368:0989ad8c0860
1 /* 1 /*
2 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
25 25
26 package javax.xml.ws.soap; 26 package javax.xml.ws.soap;
27 27
28 import javax.xml.ws.WebServiceFeature; 28 import javax.xml.ws.WebServiceFeature;
29 import javax.xml.ws.Endpoint; 29 import javax.xml.ws.Endpoint;
30 import javax.xml.ws.Dispatch;
31 import javax.xml.ws.Service; 30 import javax.xml.ws.Service;
32 31
33 /** 32 /**
34 * AddressingFeature represents the use of WS-Addressing with either 33 * AddressingFeature represents the use of WS-Addressing with either
35 * the SOAP 1.1/HTTP or SOAP 1.2/HTTP binding. Using this feature 34 * the SOAP 1.1/HTTP or SOAP 1.2/HTTP binding. Using this feature
36 * with any other binding is undefined. 35 * with any other binding is undefined.
37 * <p> 36 * <p>
38 * This feature can be used during the creation of SEI proxy, and 37 * This feature can be used during the creation of SEI proxy, and
39 * {@link Dispatch} instances on the client side and {@link Endpoint} 38 * {@link javax.xml.ws.Dispatch} instances on the client side and {@link Endpoint}
40 * instances on the server side. This feature cannot be used for {@link Service} 39 * instances on the server side. This feature cannot be used for {@link Service}
41 * instance creation on the client side. 40 * instance creation on the client side.
42 * <p> 41 * <p>
43 * The following describes the effects of this feature with respect 42 * The following describes the effects of this feature with respect
44 * to be enabled or disabled: 43 * to be enabled or disabled:
125 /** 124 /**
126 * If addressing is enabled, this property determines whether the endpoint 125 * If addressing is enabled, this property determines whether the endpoint
127 * requires WS-Addressing. If required is true, WS-Addressing headers MUST 126 * requires WS-Addressing. If required is true, WS-Addressing headers MUST
128 * be present on incoming and outgoing messages. 127 * be present on incoming and outgoing messages.
129 */ 128 */
130 // didn't make it as private final for compatibility 129 // should be private final, keeping original modifier due to backwards compatibility
131 protected /* final */ boolean required; 130 protected boolean required;
132 131
133 /** 132 /**
134 * If addressing is enabled, this property determines if endpoint requires 133 * If addressing is enabled, this property determines if endpoint requires
135 * the use of only anonymous responses, or only non-anonymous responses, or all. 134 * the use of only anonymous responses, or only non-anonymous responses, or all.
136 * 135 *

mercurial