public class LexEVSGraphClientResponseErrorHandler
extends java.lang.Object
implements org.springframework.web.client.ResponseErrorHandler
Constructor and Description |
---|
LexEVSGraphClientResponseErrorHandler(java.lang.String graphDb,
java.lang.String graph,
java.lang.String code) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode() |
java.lang.String |
getGraph() |
java.lang.String |
getGraphDb() |
void |
handleError(org.springframework.http.client.ClientHttpResponse httpResponse) |
boolean |
hasError(org.springframework.http.client.ClientHttpResponse httpResponse) |
void |
setCode(java.lang.String code) |
void |
setGraph(java.lang.String graph) |
void |
setGraphDb(java.lang.String graphDb) |
public LexEVSGraphClientResponseErrorHandler(java.lang.String graphDb, java.lang.String graph, java.lang.String code)
public boolean hasError(org.springframework.http.client.ClientHttpResponse httpResponse) throws java.io.IOException
hasError
in interface org.springframework.web.client.ResponseErrorHandler
java.io.IOException
public void handleError(org.springframework.http.client.ClientHttpResponse httpResponse) throws java.io.IOException
handleError
in interface org.springframework.web.client.ResponseErrorHandler
java.io.IOException
public java.lang.String getGraphDb()
public void setGraphDb(java.lang.String graphDb)
graphDb
- the graphDb to setpublic java.lang.String getGraph()
public void setGraph(java.lang.String graph)
graph
- the graph to setpublic java.lang.String getCode()
public void setCode(java.lang.String code)
code
- the code to set