Class UpstreamRestPort<CTX>

    • Constructor Detail

      • UpstreamRestPort

        public UpstreamRestPort​(String upstreamId,
                                UpstreamRequestCounter requestCounter,
                                com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                org.apache.http.conn.ssl.SSLConnectionSocketFactory socketFactory,
                                int connectionTimeoutInMillis,
                                List<UpstreamInterceptor<CTX>> interceptors)
      • UpstreamRestPort

        public UpstreamRestPort​(String upstreamId,
                                UpstreamRequestCounter requestCounter,
                                com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                org.apache.http.conn.ssl.SSLConnectionSocketFactory socketFactory,
                                int connectionTimeoutInMillis,
                                List<UpstreamInterceptor<CTX>> interceptors,
                                List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
    • Method Detail

      • makeDefaultConverters

        public static List<org.springframework.http.converter.HttpMessageConverter<?>> makeDefaultConverters​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • exchange

        public <T> org.springframework.http.ResponseEntity<T> exchange​(CTX context,
                                                                       String endpointId,
                                                                       org.springframework.http.RequestEntity<?> requestEntity,
                                                                       org.springframework.core.ParameterizedTypeReference<T> responseType,
                                                                       UpstreamPort.Hints<CTX> hints)
        Specified by:
        exchange in interface UpstreamPort<CTX>