Package org.htmlunit
Class DefaultCredentialsProvider.AuthScopeProxy
- java.lang.Object
-
- org.htmlunit.DefaultCredentialsProvider.AuthScopeProxy
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- DefaultCredentialsProvider
private static class DefaultCredentialsProvider.AuthScopeProxy extends java.lang.Object implements java.io.Serializable
We have to wrapAuthScope
instances in a serializable proxy so that theDefaultCredentialsProvider
class can be serialized correctly.
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.http.auth.AuthScope
authScope_
-
Constructor Summary
Constructors Constructor Description AuthScopeProxy(org.apache.http.auth.AuthScope authScope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
org.apache.http.auth.AuthScope
getAuthScope()
int
hashCode()
private void
readObject(java.io.ObjectInputStream stream)
private void
writeObject(java.io.ObjectOutputStream stream)
-
-
-
Method Detail
-
getAuthScope
public org.apache.http.auth.AuthScope getAuthScope()
-
writeObject
private void writeObject(java.io.ObjectOutputStream stream) throws java.io.IOException
- Throws:
java.io.IOException
-
readObject
private void readObject(java.io.ObjectInputStream stream) throws java.io.IOException, java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-