Class RedirectAddressType
- java.lang.Object
-
- org.jainslee.resources.diameter.cca.types.RedirectAddressType
-
- All Implemented Interfaces:
Serializable,Enumerated
public class RedirectAddressType extends Object implements Serializable, Enumerated
Java class to represent the RedirectAddressType enumerated type. Documentation from the relevant specification: The Redirect-Address-Type AVP (AVP Code 433) is of type Enumerated and defines the address type of the address given in the Redirect- Server-Address AVP.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int_IPV4_ADDRESSstatic int_IPV6_ADDRESSstatic int_SIP_URIstatic int_URLstatic RedirectAddressTypeIPV4_ADDRESSThe address type is in the form of "dotted-decimal" IPv4 address, as defined in [IPv4].static RedirectAddressTypeIPV6_ADDRESSThe address type is in the form of IPv6 address, as defined in [IPv6Addr].static RedirectAddressTypeSIP_URIThe address type is in the form of SIP Uniform Resource Identifier, as defined in [SIP].static RedirectAddressTypeURLThe address type is in the form of Uniform Resource Locator, as defined in [URL].
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RedirectAddressTypefromInt(int type)intgetValue()Return the value of this instance of this enumerated type.StringtoString()
-
-
-
Field Detail
-
_IPV4_ADDRESS
public static final int _IPV4_ADDRESS
- See Also:
- Constant Field Values
-
_IPV6_ADDRESS
public static final int _IPV6_ADDRESS
- See Also:
- Constant Field Values
-
_URL
public static final int _URL
- See Also:
- Constant Field Values
-
_SIP_URI
public static final int _SIP_URI
- See Also:
- Constant Field Values
-
IPV4_ADDRESS
public static final RedirectAddressType IPV4_ADDRESS
The address type is in the form of "dotted-decimal" IPv4 address, as defined in [IPv4].
-
IPV6_ADDRESS
public static final RedirectAddressType IPV6_ADDRESS
The address type is in the form of IPv6 address, as defined in [IPv6Addr]. The address is a text representation of the address in either the preferred or alternate text form [IPv6Addr]. Conformant implementations MUST support the preferred form and SHOULD support the alternate text form for IPv6 addresses.
-
URL
public static final RedirectAddressType URL
The address type is in the form of Uniform Resource Locator, as defined in [URL].
-
SIP_URI
public static final RedirectAddressType SIP_URI
The address type is in the form of SIP Uniform Resource Identifier, as defined in [SIP].
-
-
Method Detail
-
fromInt
public static RedirectAddressType fromInt(int type)
-
getValue
public int getValue()
Description copied from interface:EnumeratedReturn the value of this instance of this enumerated type.- Specified by:
getValuein interfaceEnumerated- Returns:
- value
-
-