Package org.eclipse.jetty.client
Class Origin
- java.lang.Object
-
- org.eclipse.jetty.client.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, java.lang.String host, int port, java.lang.Object tag)
Origin(java.lang.String scheme, Origin.Address address)
Origin(java.lang.String scheme, Origin.Address address, java.lang.Object tag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
asString()
boolean
equals(java.lang.Object obj)
Origin.Address
getAddress()
java.lang.String
getScheme()
java.lang.Object
getTag()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Origin
public Origin(java.lang.String scheme, java.lang.String host, int port)
-
Origin
public Origin(java.lang.String scheme, java.lang.String host, int port, java.lang.Object tag)
-
Origin
public Origin(java.lang.String scheme, Origin.Address address)
-
Origin
public Origin(java.lang.String scheme, Origin.Address address, java.lang.Object tag)
-
-
Method Detail
-
getScheme
public java.lang.String getScheme()
-
getAddress
public Origin.Address getAddress()
-
getTag
public java.lang.Object getTag()
-
asString
public java.lang.String asString()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-