ResourceProxyController instead@Deprecated @RestController @PropertySource(value="classpath:/endpoint.properties") public class GenericRestLookupController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log
Deprecated.
|
| Constructor and Description |
|---|
GenericRestLookupController()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getContactInfo(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String key)
Deprecated.
service to collect headers, get information, and return JSON
|
@RequestMapping(value="/{key}.json")
@ResponseBody
public Object getContactInfo(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
@PathVariable
String key)
request - the requestresponse - the responsekey - the key used to do the proxyCopyright © 2015. All rights reserved.