|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rim.pushsdk.subscription.web.BaseRequest
public class BaseRequest
Base class that represents the details of an HTTP request from a subscription operation.
| Field Summary | |
|---|---|
protected String |
pushApplicationId
The id of the push application associated with the request. |
protected String |
subscriberId
The id of the subscriber associated with the request. |
| Constructor Summary | |
|---|---|
BaseRequest()
Constructs a base request. |
|
BaseRequest(String pushApplicationId,
String subscriberId)
Constructs a base request with the given app id and subscriber id. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Returns true if two base requests are found to be equal and false otherwise. |
String |
getPushApplicationId()
Gets the current value of the push application id. |
String |
getSubscriberId()
Gets the current value of the subscriber id. |
int |
hashCode()
Returns a hashcode for this base request. |
void |
setPushApplicationId(String pushApplicationId)
Sets the push application id. |
void |
setSubscriberId(String subscriberId)
Sets the subscriber id. |
String |
toString()
Constructs a String with all attributes in name = value format. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String pushApplicationId
protected String subscriberId
| Constructor Detail |
|---|
public BaseRequest()
public BaseRequest(String pushApplicationId,
String subscriberId)
pushApplicationId - the app id of a push applicationsubscriberId - the id of a subscriber to a push application| Method Detail |
|---|
public String getPushApplicationId()
public void setPushApplicationId(String pushApplicationId)
pushApplicationId - the push application idpublic String getSubscriberId()
public void setSubscriberId(String subscriberId)
subscriberId - the subscriber idpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
String with all attributes in name = value format.
toString in class ObjectString representation of this object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||