Class KeyStoreBean
- java.lang.Object
-
- org.openqa.selenium.htmlunit.options.KeyStoreBean
-
- All Implemented Interfaces:
Serializable
public class KeyStoreBean extends Object implements Serializable
Represents a key store configuration.Holds information about the key store URL, password, and type.
- Author:
- Scott Babcock, Ronald Brill
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyStoreBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URLcreateUrl()Creates aURLobject from the key store URL string.StringgetPassword()Gets the password for the key store.StringgetType()Gets the type of the key store.StringgetUrl()Gets the key store URL as a string.voidsetPassword(String password)Sets the password for the key store.voidsetType(String type)Sets the type of the key store.voidsetUrl(String url)Sets the key store URL.
-
-
-
Method Detail
-
getUrl
public String getUrl()
Gets the key store URL as a string.- Returns:
- the key store URL
-
setUrl
public void setUrl(String url)
Sets the key store URL.- Parameters:
url- the key store URL
-
getPassword
public String getPassword()
Gets the password for the key store.- Returns:
- the key store password
-
setPassword
public void setPassword(String password)
Sets the password for the key store.- Parameters:
password- the key store password
-
getType
public String getType()
Gets the type of the key store.- Returns:
- the key store type
-
setType
public void setType(String type)
Sets the type of the key store.- Parameters:
type- the key store type
-
createUrl
public URL createUrl() throws MalformedURLException
Creates aURLobject from the key store URL string.- Returns:
- a
URLobject representing the key store URL - Throws:
MalformedURLException- if the URL string is not valid
-
-