|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.slee.resource.diameter.base.events.avp.RedirectHostUsageType
public class RedirectHostUsageType
Java class to represent the RedirectHostUsage enumerated type.
Documentation from the relevant specification: The Redirect-Host-Usage AVP (AVP Code 261) is of type Enumerated. This AVP MAY be present in answer messages whose 'E' bit is set and the Result-Code AVP is set to DIAMETER_REDIRECT_INDICATION. When present, this AVP dictates how the routing entry resulting from the Redirect-Host is to be used.
| Field Summary | |
|---|---|
static int |
_ALL_APPLICATION
|
static int |
_ALL_HOST
|
static int |
_ALL_REALM
|
static int |
_ALL_SESSION
|
static int |
_ALL_USER
|
static int |
_DONT_CACHE
|
static int |
_REALM_AND_APPLICATION
|
static RedirectHostUsageType |
ALL_APPLICATION
All messages for the application requested MAY be sent to the host specified in the Redirect-Host AVP. |
static RedirectHostUsageType |
ALL_HOST
All messages that would be sent to the host that generated the Redirect-Host MAY be sent to the host specified in the Redirect- Host AVP. |
static RedirectHostUsageType |
ALL_REALM
All messages destined for the realm requested MAY be sent to the host specified in the Redirect-Host AVP. |
static RedirectHostUsageType |
ALL_SESSION
All messages within the same session, as defined by the same value of the Session-ID AVP MAY be sent to the host specified in the Redirect-Host AVP. |
static RedirectHostUsageType |
ALL_USER
All messages for the user requested MAY be sent to the host specified in the Redirect-Host AVP. |
static RedirectHostUsageType |
DONT_CACHE
The host specified in the Redirect-Host AVP should not be cached. |
static RedirectHostUsageType |
REALM_AND_APPLICATION
All messages for the application requested to the realm specified MAY be sent to the host specified in the Redirect-Host AVP. |
| Method Summary | |
|---|---|
static RedirectHostUsageType |
fromInt(int type)
|
int |
getValue()
Return the value of this instance of this enumerated type. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int _DONT_CACHE
public static final int _ALL_SESSION
public static final int _ALL_REALM
public static final int _REALM_AND_APPLICATION
public static final int _ALL_APPLICATION
public static final int _ALL_HOST
public static final int _ALL_USER
public static final RedirectHostUsageType DONT_CACHE
public static final RedirectHostUsageType ALL_SESSION
public static final RedirectHostUsageType ALL_REALM
public static final RedirectHostUsageType REALM_AND_APPLICATION
public static final RedirectHostUsageType ALL_APPLICATION
public static final RedirectHostUsageType ALL_HOST
public static final RedirectHostUsageType ALL_USER
| Method Detail |
|---|
public static RedirectHostUsageType fromInt(int type)
public int getValue()
Enumerated
getValue in interface Enumeratedpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||