public class JerseyApplicationClient extends AbstractJerseyEurekaHttpClient
EurekaHttpClient to be used by applications.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HTTP_X_DISCOVERY_ALLOW_REDIRECT |
jerseyClient, serviceUrl| Constructor and Description |
|---|
JerseyApplicationClient(com.sun.jersey.api.client.Client jerseyClient,
java.lang.String serviceUrl,
boolean allowRedirect) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExtraHeaders(com.sun.jersey.api.client.WebResource.Builder webResource) |
cancel, deleteStatusOverride, getApplication, getApplications, getDelta, getInstance, getInstance, getSecureVip, getVip, register, sendHeartBeat, shutdown, statusUpdatepublic static final java.lang.String HTTP_X_DISCOVERY_ALLOW_REDIRECT
public JerseyApplicationClient(com.sun.jersey.api.client.Client jerseyClient,
java.lang.String serviceUrl,
boolean allowRedirect)
protected void addExtraHeaders(com.sun.jersey.api.client.WebResource.Builder webResource)
addExtraHeaders in class AbstractJerseyEurekaHttpClient