org.springframework.web.bind.annotation.RestController for proxying other REST resources.
| Type | Name and description |
|---|---|
java.lang.Object |
proxyResource(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String key)Proxies the request and then calls javax.servlet.http.HttpServletResponse#setStatus(int) with the org.springframework.http.HttpStatus recieved. |
void |
setEnv(org.springframework.core.env.Environment env)@param env the env to set |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Proxies the request and then calls javax.servlet.http.HttpServletResponse#setStatus(int) with the org.springframework.http.HttpStatus recieved. If the proxy response contains content it's simply returned here as an java.lang.Object.
env - the env to set