Package csw.location.api.models
Class HttpLocation
- java.lang.Object
-
- csw.location.api.models.Location
-
- csw.location.api.models.HttpLocation
-
- All Implemented Interfaces:
LocationSerializable
,java.io.Serializable
,scala.Equals
,scala.Product
public final class HttpLocation extends Location implements scala.Product, java.io.Serializable
Represents a live Http connectionparam: connection represents a connection based on a componentId and the type of connection offered by the component param: uri represents the remote URI of the component that other components will resolve and talk to
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpLocation(Connection.HttpConnection connection, java.net.URI uri)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract static R
apply(T1 v1, T2 v2)
Connection.HttpConnection
connection()
Represents a connection based on a componentId and the type of connection offered by the componentstatic java.lang.String
toString()
java.net.URI
uri()
Represents the URI of the component
-
-
-
Constructor Detail
-
HttpLocation
public HttpLocation(Connection.HttpConnection connection, java.net.URI uri)
-
-
Method Detail
-
apply
public abstract static R apply(T1 v1, T2 v2)
-
toString
public static java.lang.String toString()
-
connection
public Connection.HttpConnection connection()
Description copied from class:Location
Represents a connection based on a componentId and the type of connection offered by the component- Specified by:
connection
in classLocation
- Returns:
- (undocumented)
-
-