public interface ProxyInfo extends GroupedAvp
6.7.2. Proxy-Info AVP The Proxy-Info AVP (AVP Code 284) is of type Grouped. The Grouped Data field has the following ABNF grammar: Proxy-Info ::= < AVP Header: 284 > { Proxy-Host } { Proxy-State } * [ AVP ]
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
DiameterIdentity |
getProxyHost()
Returns the value of the Proxy-Host AVP, of type DiameterIdentity.
|
byte[] |
getProxyState()
Returns the value of the Proxy-State AVP, of type OctetString.
|
boolean |
hasProxyHost()
Returns true if the Proxy-Host AVP is present in the Proxy-Info AVP.
|
boolean |
hasProxyState()
Returns true if the Proxy-State AVP is present in the Proxy-Info AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the Proxy-Info AVP.
|
void |
removeProxyHost()
Removes the Proxy-Host AVP from the Proxy-Info AVP.
|
void |
removeProxyState()
Removes the Proxy-State AVP from the Proxy-Info AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setProxyHost(DiameterIdentity proxyHost)
Sets the value of the Proxy-Host AVP, of type DiameterIdentity.
|
void |
setProxyState(byte[] proxyState)
Sets the value of the Proxy-State AVP, of type OctetString.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasProxyHost()
DiameterIdentity getProxyHost()
void setProxyHost(DiameterIdentity proxyHost)
java.lang.NullPointerException
- if proxyHost
is null
.void removeProxyHost()
boolean hasProxyState()
byte[] getProxyState()
void setProxyState(byte[] proxyState)
java.lang.NullPointerException
- if proxyState
is null
.void removeProxyState()
DiameterAvp[] getExtensionAvps()
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
AvpNotAllowedException
- if an AVP is encountered of a type already known to this class
(i.e. an AVP for which get/set methods already appear in this class)java.lang.NullPointerException
- if avps
is null
.void removeExtensionAvps()