public class Endpoints
extends java.lang.Object
Constructor and Description |
---|
Endpoints() |
Modifier and Type | Method and Description |
---|---|
static EndpointSet |
createDefaultTapEndpointSet(java.lang.String baseUrl)
Creates a TAP endpoint set from a string giving the base URL,
with the endpoints in the default places.
|
static EndpointSet |
createDefaultTapEndpointSet(java.net.URL baseUrl)
Creates a TAP endpoint set from a string giving the base URL,
with the endpoints in the default places.
|
static EndpointSet |
getRegTapEndpointSet()
Returns a default endpoint set corresponding to a Relational Registry
(RegTAP) service.
|
public static EndpointSet getRegTapEndpointSet()
The current implementation returns a hardcoded value, the main GAVO registry service. Perhaps it should be pluggable, but the GAVO RegTAP service is expected to be pretty reliable.
public static EndpointSet createDefaultTapEndpointSet(java.lang.String baseUrl)
baseUrl
- base TAP URLjava.lang.IllegalArgumentException
- in case of a bad URLpublic static EndpointSet createDefaultTapEndpointSet(java.net.URL baseUrl)
This setup is more or less mandatory for TAP 1.0 services, but TAP 1.1 services can provide different sets of endpoints (capability/interface elements) for different purposes, for instance with different securityMethods.
baseUrl
- base TAP URLCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.