| java.lang.Object com.sun.xml.ws.tx.common.AddressManager
AddressManager | public class AddressManager (Code) | | This class handles all address calculations for the wstx-service enpoints
author: Ryan.Shoemaker@Sun.COM version: $Revision: 1.3 $ since: 1.0 |
Method Summary | |
public static URI | getAddress(Class portType, boolean secure) Return an address for the specified port type based on the 'secure' flag. | public static URI | getPreferredAddress(Class portType) Return an address for the specified port type using the preferred scheme. |
getAddress | public static URI getAddress(Class portType, boolean secure)(Code) | | Return an address for the specified port type based on the 'secure' flag. If
the 'secure' flag is true, the address will begin with "https", otherwise it
will begin with "http".
Parameters: portType - the endpoint port type Parameters: secure - flag to control whether the address is secure or non-secure a URI representing the endpoint address with the specified secure or non-secure scheme |
getPreferredAddress | public static URI getPreferredAddress(Class portType)(Code) | | Return an address for the specified port type using the preferred scheme.
This method should be used most of the time unless you explicitly know which
scheme you want back.
Parameters: portType - the endpoint port type a URI representing the preferred endpoint address |
|
|