public class HttpPostInfo extends Object
Constructor and Description |
---|
HttpPostInfo(String hurl,
String clabel,
String user,
String passwd)
Constructor
|
HttpPostInfo(URL hurl,
String clabel,
String user,
String passwd)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
public HttpPostInfo(String hurl, String clabel, String user, String passwd) throws MalformedURLException
hurl
- a String
object.clabel
- a String
object.user
- a String
object.passwd
- a String
object.MalformedURLException
- thrown if the string url passed is not a valid urlMalformedURLException
- if any.public void incrementErrors()
public void clearErrors()
public URL getURL()
public String getURLString()
public String getCategory()
public String getUser()
public String getPassword()
public int getErrors()
Copyright © 2021. All rights reserved.