public class ClientImpl extends Object implements Serializable
| Constructor and Description |
|---|
ClientImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected com.sun.jersey.api.client.Client |
getClient(String host)
getClient
|
protected com.sun.jersey.api.client.Client |
getClient(String user,
String password,
String host)
getClient
|
com.sun.jersey.api.client.WebResource.Builder |
resource(com.sun.jersey.api.client.Client client,
String u,
javax.ws.rs.core.MultivaluedMap<String,String> params,
String authenticationToken)
Create a Web resource from the client.
|
com.sun.jersey.api.client.WebResource.Builder |
resource(com.sun.jersey.api.client.Client client,
String u,
String authenticationToken)
Create a Web resource from the client.
|
protected com.sun.jersey.api.client.Client getClient(String host) throws NoSuchAlgorithmException, KeyManagementException
protected com.sun.jersey.api.client.Client getClient(String user, String password, String host) throws NoSuchAlgorithmException, KeyManagementException
public com.sun.jersey.api.client.WebResource.Builder resource(com.sun.jersey.api.client.Client client,
String u,
String authenticationToken)
u - the URI of the resource.public com.sun.jersey.api.client.WebResource.Builder resource(com.sun.jersey.api.client.Client client,
String u,
javax.ws.rs.core.MultivaluedMap<String,String> params,
String authenticationToken)
u - the URI of the resource.Copyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.