|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.wcp.diameter.sh.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://
where
is the user's public or MSISDN identifier,
and
is the data reference type, and
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(java.lang.String selector)
java.lang.IllegalArgumentException
- if the document selector was invalidpublic AccessKey(UserIdentity userId, DataReference dataRef)
public AccessKey(UserIdentity userId, DataReference dataRef, java.lang.Object param)
Method Detail |
public void addAvps(AvpList avps)
avps
- the AVPs for the messagepublic boolean equals(java.lang.Object obj)
public static AccessKey getAccessKey(Request req, java.lang.Object param) throws AvpException
req
- the Sh requestparam
- ignore parameter AVP and use specified param instead
AvpException
- if one or more AVPs in the request were invalidpublic DataReference getDataReference()
public java.lang.Object getParameter()
public UserIdentity getUserIdentity()
public int hashCode()
public java.lang.String toString()
|
Documentation is available at http://download.oracle.com/docs/cd/E13209_01/wlcp/wlss30/ Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |