|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.http.client.support.HttpAccessor
org.springframework.http.client.support.InterceptingHttpAccessor
org.springframework.web.client.RestTemplate
org.cloudfoundry.client.lib.rest.LoggingRestTemplate
public class LoggingRestTemplate
RestTemplate that provides for logging of any REST calls made
Field Summary |
---|
Fields inherited from class org.springframework.http.client.support.HttpAccessor |
---|
logger |
Constructor Summary | |
---|---|
LoggingRestTemplate()
|
Method Summary | ||
---|---|---|
void |
addLogMessage(org.springframework.http.HttpMethod method,
URI url,
String status,
org.springframework.http.HttpStatus httpStatus,
String message)
|
|
protected
|
doExecute(URI url,
org.springframework.http.HttpMethod method,
org.springframework.web.client.RequestCallback requestCallback,
org.springframework.web.client.ResponseExtractor<T> responseExtractor)
|
Methods inherited from class org.springframework.web.client.RestTemplate |
---|
delete, delete, delete, exchange, exchange, exchange, exchange, exchange, exchange, execute, execute, execute, getErrorHandler, getForEntity, getForEntity, getForEntity, getForObject, getForObject, getForObject, getMessageConverters, headForHeaders, headForHeaders, headForHeaders, optionsForAllow, optionsForAllow, optionsForAllow, postForEntity, postForEntity, postForEntity, postForLocation, postForLocation, postForLocation, postForObject, postForObject, postForObject, put, put, put, setErrorHandler, setMessageConverters |
Methods inherited from class org.springframework.http.client.support.InterceptingHttpAccessor |
---|
getInterceptors, getRequestFactory, setInterceptors |
Methods inherited from class org.springframework.http.client.support.HttpAccessor |
---|
createRequest, setRequestFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggingRestTemplate()
Method Detail |
---|
protected <T> T doExecute(URI url, org.springframework.http.HttpMethod method, org.springframework.web.client.RequestCallback requestCallback, org.springframework.web.client.ResponseExtractor<T> responseExtractor) throws org.springframework.web.client.RestClientException
doExecute
in class org.springframework.web.client.RestTemplate
org.springframework.web.client.RestClientException
public void addLogMessage(org.springframework.http.HttpMethod method, URI url, String status, org.springframework.http.HttpStatus httpStatus, String message)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |