@Service public class RestProxyServiceImpl extends Object implements RestProxyService
RestProxyService.| Constructor and Description |
|---|
RestProxyServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Object> |
proxyRequest(String resourceKey,
javax.servlet.http.HttpServletRequest request)
Inspects the
Environment for necessary properties about the target API:
Resource root URI
Credentials
Delegates to RestProxyDao.proxyRequest(ProxyRequestContext) |
public org.springframework.http.ResponseEntity<Object> proxyRequest(String resourceKey, javax.servlet.http.HttpServletRequest request)
Environment for necessary properties about the target API:
RestProxyDao.proxyRequest(ProxyRequestContext)proxyRequest in interface RestProxyServiceResponseEntity returned from the REST API (may return null)KeyUtils.getProxyHeaders(Environment, String, HttpServletRequest)Copyright © 2015. All rights reserved.