Package Torello.Browser
Class Security.securityStateChanged
- java.lang.Object
-
- Torello.Java.JSON.BaseType
-
- Torello.Browser.BrowserEvent
-
- Torello.Browser.Security.securityStateChanged
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Security
public static class Security.securityStateChanged extends BrowserEvent implements java.io.Serializable
The security state of the page changed.- See Also:
- Serialized Form
Hi-Lited Source-Code:- View Here: Torello/Browser/Security.java
- Open New Browser-Tab: Torello/Browser/Security.java
File Size: 5,818 Bytes Line Count: 132 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field protected static long
serialVersionUID
For Object Serialization.Event Properties Modifier and Type Field Security.SecurityStateExplanation[]
explanations
List of explanations for the security state.Security.InsecureContentStatus
insecureContentStatus
Information about insecure content on the page.boolean
schemeIsCryptographic
True if the page was loaded over cryptographic transport such as HTTPS.String
securityState
Security state.String
summary
Overrides user-visible description of the state.-
Fields inherited from class Torello.Browser.BrowserEvent
domain, name, numFields
-
-
Constructor Summary
Constructors Constructor Description securityStateChanged(String securityState, boolean schemeIsCryptographic, Security.SecurityStateExplanation[] explanations, Security.InsecureContentStatus insecureContentStatus, String summary)
ConstructorsecurityStateChanged(JsonObject jo)
JSON Object Constructor
-
Method Summary
Generate Array that Indicates which Parameter are Optional Modifier and Type Method boolean[]
optionals()
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null.Methods: class java.lang.Object Modifier and Type Method boolean
equals(Object other)
Checks whether'this'
equals an input Java-Object
int
hashCode()
Generates a Hash-Code for'this'
instance
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
For Object Serialization. java.io.Serializable- See Also:
- Constant Field Values
-
securityState
public final java.lang.String securityState
Security state.
-
schemeIsCryptographic
public final boolean schemeIsCryptographic
True if the page was loaded over cryptographic transport such as HTTPS.
DEPRECATED
-
explanations
public final Security.SecurityStateExplanation[] explanations
List of explanations for the security state. If the overall security state isinsecure
orwarning
, at least one corresponding explanation should be included.
-
insecureContentStatus
public final Security.InsecureContentStatus insecureContentStatus
Information about insecure content on the page.
DEPRECATED
-
summary
public final java.lang.String summary
Overrides user-visible description of the state.
OPTIONAL
-
-
Constructor Detail
-
securityStateChanged
public securityStateChanged (java.lang.String securityState, boolean schemeIsCryptographic, Security.SecurityStateExplanation[] explanations, Security.InsecureContentStatus insecureContentStatus, java.lang.String summary)
Constructor- Parameters:
securityState
- Security state.schemeIsCryptographic
- True if the page was loaded over cryptographic transport such as HTTPS.
DEPRECATEDexplanations
- List of explanations for the security state. If the overall security state isinsecure
orwarning
, at least one corresponding explanation should be included.insecureContentStatus
- Information about insecure content on the page.
DEPRECATEDsummary
- Overrides user-visible description of the state.
OPTIONAL
-
securityStateChanged
public securityStateChanged(JsonObject jo)
JSON Object Constructor- Parameters:
jo
- A Json-Object having data about an instance of'securityStateChanged'
.
-
-
Method Detail
-
optionals
public boolean[] optionals()
Description copied from class:BaseType
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null. When binding aJsonObject
to a Java-Object, if some of the expected fields for the Java-Object map to Properties which might be left-out or omitted, then that may be indicated by setting that fields array positionTRUE
.
NOTE: This array should have a length equal to the number of fields contained by the Java Object. The first boolean in the array should specify whether the first Object Field may by absent. The second boolean should specify whether the second Object Field is optional in the JSON - and so on and so forth...
-
equals
public boolean equals(java.lang.Object other)
Checks whether'this'
equals an input Java-Object
- Overrides:
equals
in classjava.lang.Object
- Code:
- Exact Method Body:
if (other == null) return false; if (other.getClass() != this.getClass()) return false; securityStateChanged o = (securityStateChanged) other; return Objects.equals(this.securityState, o.securityState) && (this.schemeIsCryptographic == o.schemeIsCryptographic) && Arrays.deepEquals(this.explanations, o.explanations) && Objects.equals(this.insecureContentStatus, o.insecureContentStatus) && Objects.equals(this.summary, o.summary);
-
hashCode
public int hashCode()
Generates a Hash-Code for'this'
instance- Overrides:
hashCode
in classjava.lang.Object
- Code:
- Exact Method Body:
return Objects.hashCode(this.securityState) + (this.schemeIsCryptographic ? 1 : 0) + Arrays.deepHashCode(this.explanations) + this.insecureContentStatus.hashCode() + Objects.hashCode(this.summary);
-
-