public class RibbonResponse
extends java.lang.Object
implements com.netflix.client.IResponse
| Constructor and Description |
|---|
RibbonResponse(com.github.ljtfreitas.restify.http.client.response.HttpResponseMessage response) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.util.Map<java.lang.String,?> |
getHeaders() |
java.lang.Object |
getPayload() |
java.net.URI |
getRequestedURI() |
boolean |
hasPayload() |
boolean |
isSuccess() |
com.github.ljtfreitas.restify.http.client.response.HttpResponseMessage |
unwrap() |
public RibbonResponse(com.github.ljtfreitas.restify.http.client.response.HttpResponseMessage response)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic java.lang.Object getPayload()
throws com.netflix.client.ClientException
getPayload in interface com.netflix.client.IResponsecom.netflix.client.ClientExceptionpublic boolean hasPayload()
hasPayload in interface com.netflix.client.IResponsepublic boolean isSuccess()
isSuccess in interface com.netflix.client.IResponsepublic java.net.URI getRequestedURI()
getRequestedURI in interface com.netflix.client.IResponsepublic java.util.Map<java.lang.String,?> getHeaders()
getHeaders in interface com.netflix.client.IResponsepublic com.github.ljtfreitas.restify.http.client.response.HttpResponseMessage unwrap()
Copyright © 2017. All Rights Reserved.