public class RibbonCommand
extends com.netflix.hystrix.HystrixCommand<com.netflix.client.http.HttpResponse>
Constructor and Description |
---|
RibbonCommand(com.netflix.niws.client.http.RestClient restClient,
com.netflix.client.http.HttpRequest.Verb verb,
String uri,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
javax.ws.rs.core.MultivaluedMap<String,String> params,
InputStream requestEntity) |
RibbonCommand(String commandKey,
com.netflix.niws.client.http.RestClient restClient,
com.netflix.client.http.HttpRequest.Verb verb,
String uri,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
javax.ws.rs.core.MultivaluedMap<String,String> params,
InputStream requestEntity) |
Modifier and Type | Method and Description |
---|---|
protected com.netflix.client.http.HttpResponse |
run() |
execute, getCacheKey, getCommandGroup, getCommandKey, getExecutionEvents, getExecutionTimeInMilliseconds, getFailedExecutionException, getFallback, getMetrics, getProperties, getThreadPoolKey, isCircuitBreakerOpen, isExecutedInThread, isExecutionComplete, isFailedExecution, isResponseFromCache, isResponseFromFallback, isResponseRejected, isResponseShortCircuited, isResponseTimedOut, isSuccessfulExecution, observe, queue, toObservable, toObservable
public RibbonCommand(com.netflix.niws.client.http.RestClient restClient, com.netflix.client.http.HttpRequest.Verb verb, String uri, javax.ws.rs.core.MultivaluedMap<String,String> headers, javax.ws.rs.core.MultivaluedMap<String,String> params, InputStream requestEntity) throws URISyntaxException
URISyntaxException
public RibbonCommand(String commandKey, com.netflix.niws.client.http.RestClient restClient, com.netflix.client.http.HttpRequest.Verb verb, String uri, javax.ws.rs.core.MultivaluedMap<String,String> headers, javax.ws.rs.core.MultivaluedMap<String,String> params, InputStream requestEntity) throws URISyntaxException
URISyntaxException
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.