|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-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 String |
PREFIX |
| Constructor Summary | |
|---|---|
AccessKey(String selector)Parses AccessKey from specified document selector. |
|
AccessKey(UserIdentity userId, DataReference dataRef) |
|
AccessKey(UserIdentity userId, DataReference dataRef, Object param) |
|
| Method Summary | |
|---|---|
void |
addAvps(AvpList avps)Adds the appropriate AVPs for this AccessKey to the specified list of AVPs. |
boolean |
equals(Object obj) |
static AccessKey |
getAccessKey(Request req, Object param)Returns the AccessKey for the specified Sh request. |
DataReference |
getDataReference()Returns the DataReference for this AccessKey. |
Object |
getParameter()Returns the optional parameter for this AccessKey. |
UserIdentity |
getUserIdentity()Returns the UserIdentity for this AccessKey. |
int |
hashCode() |
String |
toString() |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PREFIX
| Constructor Detail |
|---|
public AccessKey(UserIdentity userId,
DataReference dataRef,
Object param)
public AccessKey(UserIdentity userId,
DataReference dataRef)
public AccessKey(String selector)
IllegalArgumentException - if the document selector was invalid| Method Detail |
|---|
public UserIdentity getUserIdentity()
public DataReference getDataReference()
public Object getParameter()
public void addAvps(AvpList avps)
avps - the AVPs for the message
public static AccessKey getAccessKey(Request req,
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 Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2012 Oracle Corporation. All Rights Reserved.