aboutsummaryrefslogtreecommitdiffstats
path: root/jaxrs_client_utils/src/main/java/com/yahoo/vespa/jaxrs/client/JaxRsClientFactory.java
blob: d004ac3af45f3e45c8174d74753c0f9598c55337 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.jaxrs.client;

import com.yahoo.vespa.applicationmodel.HostName;

/**
 * Interface for creating a JAX-RS client API instance for a single server endpoint.
 *
 * @author bakksjo
 */
public interface JaxRsClientFactory {
    <T> T createClient(Class<T> apiClass, HostName hostName, int port, String pathPrefix, String scheme);
}