protected static class FeignLoadBalancer.RibbonResponse extends Object implements com.netflix.client.IResponse
Modifier | Constructor and Description |
---|---|
protected |
RibbonResponse(URI uri,
feign.Response response) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Map<String,Collection<String>> |
getHeaders() |
Object |
getPayload() |
URI |
getRequestedURI() |
boolean |
hasPayload() |
boolean |
isSuccess() |
protected RibbonResponse(URI uri, feign.Response response)
public Object getPayload() throws com.netflix.client.ClientException
getPayload
in interface com.netflix.client.IResponse
com.netflix.client.ClientException
public boolean hasPayload()
hasPayload
in interface com.netflix.client.IResponse
public boolean isSuccess()
isSuccess
in interface com.netflix.client.IResponse
public URI getRequestedURI()
getRequestedURI
in interface com.netflix.client.IResponse
public Map<String,Collection<String>> getHeaders()
getHeaders
in interface com.netflix.client.IResponse
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.