public class EnvironmentManagerMvcEndpoint extends Object implements org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
EnvironmentManager providing a POST to /env as a simple
way to change the Environment.| Constructor and Description |
|---|
EnvironmentManagerMvcEndpoint(org.springframework.boot.actuate.endpoint.EnvironmentEndpoint delegate,
EnvironmentManager enviroment) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends org.springframework.boot.actuate.endpoint.Endpoint> |
getEndpointType() |
String |
getPath() |
boolean |
isSensitive() |
Map<String,Object> |
reset() |
void |
setEnvironmentManager(EnvironmentManager environment) |
Object |
value(Map<String,String> params) |
public EnvironmentManagerMvcEndpoint(org.springframework.boot.actuate.endpoint.EnvironmentEndpoint delegate,
EnvironmentManager enviroment)
@RequestMapping(value="",
method=POST)
@ResponseBody
public Object value(@RequestParam
Map<String,String> params)
public void setEnvironmentManager(EnvironmentManager environment)
public String getPath()
getPath in interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpointpublic boolean isSensitive()
isSensitive in interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpointpublic Class<? extends org.springframework.boot.actuate.endpoint.Endpoint> getEndpointType()
getEndpointType in interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpointCopyright © 2017 Pivotal Software, Inc.. All rights reserved.