Package ai.vespa.hosted.cd
Interface Endpoint
public interface Endpoint
An endpoint in a Vespa application
Deployment
, which allows document retrieval.- Author:
- jonmv
-
Method Summary
Modifier and TypeMethodDescriptionReturns the authenticator for HTTP requests against this particular endpoint.default HttpRequest.Builder
Creates a request against the endpoint, with the given path.Creates a request against the endpoint, with the given path and properties.default HttpResponse<String>
send
(HttpRequest.Builder request) Sends the given request with required authentication.<T> HttpResponse<T>
send
(HttpRequest.Builder request, HttpResponse.BodyHandler<T> handler) Sends the given request with required authentication.uri()
Returns the URI of the endpoint, with scheme, host and port.
-
Method Details
-
uri
URI uri()Returns the URI of the endpoint, with scheme, host and port. -
authenticator
EndpointAuthenticator authenticator()Returns the authenticator for HTTP requests against this particular endpoint. -
send
Sends the given request with required authentication. -
send
Sends the given request with required authentication. -
request
Creates a request against the endpoint, with the given path and properties. -
request
Creates a request against the endpoint, with the given path.
-