|
Oracle Communications Converged Application Server Java API Reference 5.0 E18767-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.bea.wcp.diameter.sh.AccessKey
public final class AccessKey
Access key used for Sh-Pull, Sh-Update, and Sh-Subs-Notif commands. Can be parsed from string-based document selector of the following format: sh://<user-id>;<data-reference>[/<parameter>] where <user-id> is the user's public or MSISDN identifier, and <data-reference> is the data reference type, and <parameter> is the optional data reference parameter.
| Field Summary | |
|---|---|
static java.lang.String |
PREFIX |
| Constructor Summary | |
|---|---|
AccessKey(java.lang.String selector)Parses AccessKey from specified document selector. |
|
AccessKey(UserIdentity userId, DataReference dataRef) |
|
AccessKey(UserIdentity userId, DataReference dataRef, java.lang.Object param) |
|
| Method Summary | |
|---|---|
void |
addAvps(AvpList avps)Adds the appropriate AVPs for this AccessKey to the specified list of AVPs. |
boolean |
equals(java.lang.Object obj) |
static AccessKey |
getAccessKey(Request req, java.lang.Object param)Returns the AccessKey for the specified Sh request. |
DataReference |
getDataReference()Returns the DataReference for this AccessKey. |
java.lang.Object |
getParameter()Returns the optional parameter for this AccessKey. |
UserIdentity |
getUserIdentity()Returns the UserIdentity for this AccessKey. |
int |
hashCode() |
java.lang.String |
toString() |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PREFIX
| Constructor Detail |
|---|
public AccessKey(UserIdentity userId,
DataReference dataRef,
java.lang.Object param)
public AccessKey(UserIdentity userId,
DataReference dataRef)
public AccessKey(java.lang.String selector)
java.lang.IllegalArgumentException - if the document selector was invalid| Method Detail |
|---|
public UserIdentity getUserIdentity()
public DataReference getDataReference()
public java.lang.Object getParameter()
public void addAvps(AvpList avps)
avps - the AVPs for the message
public static AccessKey getAccessKey(Request req,
java.lang.Object param)
throws AvpException
req - the Sh requestparam - ignore parameter AVP and use specified param insteadAvpException - if one or more AVPs in the request were invalidpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
Oracle Communications Converged Application Server Java API Reference 5.0 E18767-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||