Skip navigation links
C D E G H I O P R S 

C

convertErrorReport(ErrorReport) - Method in class org.sklsft.commons.rest.client.exception.ErrorReportHandler
instantiates the ApplicationException as described in the ErrorReport that a rest service can respond
CorrelationIdInterceptor - Class in org.sklsft.commons.rest.client.interceptors
An interceptor to be associated to a {link RestTemplate} that aims at: Injecting a correlationId from the RequestContext in a HTTP header
CorrelationIdInterceptor() - Constructor for class org.sklsft.commons.rest.client.interceptors.CorrelationIdInterceptor
 

D

delete(String, Map<String, ?>) - Method in class org.sklsft.commons.rest.client.RestClient
call a rest url with a DELETE method with url variables

E

ErrorReportHandler - Class in org.sklsft.commons.rest.client.exception
this class is responsible for handling error reports that a rest service can respond.
ErrorReportHandler() - Constructor for class org.sklsft.commons.rest.client.exception.ErrorReportHandler
 
exchange(String, HttpMethod, Object, Class<T>) - Method in class org.sklsft.commons.rest.client.RestClient
Call a rest url with the specified method and maps the response to T.
exchange(String, HttpMethod, Object, Class<T>, Map<String, ?>) - Method in class org.sklsft.commons.rest.client.RestClient
Call a rest url with the specified method with url variables and maps the response to T.
exchange(String, HttpMethod, Object, ParameterizedTypeReference<T>) - Method in class org.sklsft.commons.rest.client.RestClient
Call a rest url with the specified method and maps the response to the given parameterized type.
exchange(String, HttpMethod, Object, ParameterizedTypeReference<T>, Map<String, ?>) - Method in class org.sklsft.commons.rest.client.RestClient
Call a rest url with the specified method with url variables and maps the response to the given parameterized type.

G

getForObject(String, Class<T>) - Method in class org.sklsft.commons.rest.client.RestClient
call a rest url with a GET method and maps the response to T
getForObject(String, Class<T>, Map<String, ?>) - Method in class org.sklsft.commons.rest.client.RestClient
call a rest url with a GET method with url variables and maps the response to T
getForObject(String, ParameterizedTypeReference<T>) - Method in class org.sklsft.commons.rest.client.RestClient
call a rest url with a GET method and maps the response to the given parameterized type.
getForObject(String, ParameterizedTypeReference<T>, Map<String, ?>) - Method in class org.sklsft.commons.rest.client.RestClient
call a rest url with a GET method with url variables and maps the response to the given parameterized type.
getObjectMapper() - Method in class org.sklsft.commons.rest.client.exception.ErrorReportHandler
 

H

handleError(ClientHttpResponse) - Method in class org.sklsft.commons.rest.client.exception.ErrorReportHandler
 
hasError(ClientHttpResponse) - Method in class org.sklsft.commons.rest.client.exception.ErrorReportHandler
 

I

intercept(HttpRequest, byte[], ClientHttpRequestExecution) - Method in class org.sklsft.commons.rest.client.interceptors.CorrelationIdInterceptor
 
intercept(HttpRequest, byte[], ClientHttpRequestExecution) - Method in class org.sklsft.commons.rest.client.interceptors.RestClientLoggerInterceptor
 

O

org.sklsft.commons.rest.client - package org.sklsft.commons.rest.client
 
org.sklsft.commons.rest.client.exception - package org.sklsft.commons.rest.client.exception
 
org.sklsft.commons.rest.client.interceptors - package org.sklsft.commons.rest.client.interceptors
 

P

postForObject(String, Object, Class<T>) - Method in class org.sklsft.commons.rest.client.RestClient
call a rest url with a POST method and maps the response to T
postForObject(String, Object, Class<T>, Map<String, ?>) - Method in class org.sklsft.commons.rest.client.RestClient
call a rest url with a POST method with url variables and maps the response to T
postForObject(String, Object, ParameterizedTypeReference<T>) - Method in class org.sklsft.commons.rest.client.RestClient
call a rest url with a POST method and maps the response to the given parameterized type.
postForObject(String, Object, ParameterizedTypeReference<T>, Map<String, ?>) - Method in class org.sklsft.commons.rest.client.RestClient
call a rest url with a POST method with url variables and maps the response to the given parameterized type.
put(String, Object) - Method in class org.sklsft.commons.rest.client.RestClient
call a rest url with a PUT method
put(String, Object, Map<String, ?>) - Method in class org.sklsft.commons.rest.client.RestClient
call a rest url with a PUT method with url variables

R

RestClient - Class in org.sklsft.commons.rest.client
this class is responsible for calling rest services.
RestClient() - Constructor for class org.sklsft.commons.rest.client.RestClient
 
RestClientLoggerInterceptor - Class in org.sklsft.commons.rest.client.interceptors
An interceptor to be associated to a {link RestTemplate} that aims at: Logging when you send the request Logging when you receive the response
RestClientLoggerInterceptor() - Constructor for class org.sklsft.commons.rest.client.interceptors.RestClientLoggerInterceptor
 

S

setAccessLogger(AccessLogger) - Method in class org.sklsft.commons.rest.client.interceptors.RestClientLoggerInterceptor
 
setObjectMapper(ObjectMapper) - Method in class org.sklsft.commons.rest.client.exception.ErrorReportHandler
 
setRestServerUrl(String) - Method in class org.sklsft.commons.rest.client.RestClient
 
setRestTemplate(RestTemplate) - Method in class org.sklsft.commons.rest.client.RestClient
 
setTraceReceivedBody(boolean) - Method in class org.sklsft.commons.rest.client.interceptors.RestClientLoggerInterceptor
 
setTraceSentBody(boolean) - Method in class org.sklsft.commons.rest.client.interceptors.RestClientLoggerInterceptor
 
C D E G H I O P R S 
Skip navigation links

Copyright © 2020. All rights reserved.