All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jslsolucoes.jax.rs.client.se.api.impl.DefaultJaxRsApiClient Maven / Gradle / Ivy

package com.jslsolucoes.jax.rs.client.se.api.impl;

import org.glassfish.jersey.client.JerseyClient;

import com.jslsolucoes.jax.rs.client.se.api.JaxRsApiClient;
import com.jslsolucoes.jax.rs.client.se.api.JaxRsApiClientWebTarget;

public class DefaultJaxRsApiClient implements JaxRsApiClient {

    private JerseyClient jerseyClient;

    public DefaultJaxRsApiClient(JerseyClient jerseyClient) {
	this.jerseyClient = jerseyClient;
    }

    @Override
    public void close() {
	jerseyClient.close();
    }

    @Override
    public JaxRsApiClientWebTarget target(String target) {
	return new DefaultJaxRsApiClientWebTarget(this,jerseyClient.target(target));
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy