Package org.htmlunit

Class 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 wrap AuthScope instances in a serializable proxy so that the DefaultCredentialsProvider 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)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • authScope_

        private org.apache.http.auth.AuthScope authScope_
    • Constructor Detail

      • AuthScopeProxy

        AuthScopeProxy​(org.apache.http.auth.AuthScope authScope)
    • 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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object