Class Origin


  • public class Origin
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Origin.Address  
    • Constructor Summary

      Constructors 
      Constructor Description
      Origin​(java.lang.String scheme, java.lang.String host, int port)  
      Origin​(java.lang.String scheme, Origin.Address address)  
    • Constructor Detail

      • Origin

        public Origin​(java.lang.String scheme,
                      java.lang.String host,
                      int port)
      • Origin

        public Origin​(java.lang.String scheme,
                      Origin.Address address)
    • Method Detail

      • getScheme

        public java.lang.String getScheme()
      • asString

        public java.lang.String asString()
      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object