|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.rtc.datablock.HttpPostInfo
public class HttpPostInfo
Class containing the information for the HTTP POST operations - this gets constructed when each time a subscribe event is received and is basically immutable(except for error count)
| Constructor Summary | |
|---|---|
HttpPostInfo(String hurl,
String clabel,
String user,
String passwd)
Constructor |
|
HttpPostInfo(URL hurl,
String clabel,
String user,
String passwd)
Constructor |
|
| Method Summary | |
|---|---|
void |
clearErrors()
Clear error count if there were errors earlier |
boolean |
equals(Object obj)
|
String |
getCategory()
Return the category label |
int |
getErrors()
Return the number of errors |
String |
getPassword()
Return the passwd |
URL |
getURL()
Return the URL |
String |
getURLString()
Return the URL as a string |
String |
getUser()
Return the user |
int |
hashCode()
|
void |
incrementErrors()
Increment errors |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpPostInfo(URL hurl,
String clabel,
String user,
String passwd)
public HttpPostInfo(String hurl,
String clabel,
String user,
String passwd)
throws MalformedURLException
MalformedURLException - thrown if the string url passed is not a valid url| Method Detail |
|---|
public void incrementErrors()
public void clearErrors()
public URL getURL()
public String getURLString()
public String getCategory()
public String getUser()
public String getPassword()
public int getErrors()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||