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 param: metadata represents additional metadata information associated with location. Defaulted to empty is not provided while registration.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HttpLocation(Connection.HttpConnection connection, java.net.URI uri, Metadata metadata)
-
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, T3 v3)
Connection.HttpConnection
connection()
Represents a connection based on a componentId and the type of connection offered by the componentMetadata
metadata()
metadata represents any additional information (metadata) associated with locationstatic 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, Metadata metadata)
-
-
Method Detail
-
apply
public abstract static R apply(T1 v1, T2 v2, T3 v3)
-
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)
-
uri
public java.net.URI uri()
Description copied from class:Location
Represents the URI of the component
-
-