public class EnvironmentMvcEndpoint extends EndpointMvcAdapter implements EnvironmentAware
EnvironmentEndpoint
as an MvcEndpoint
.Modifier and Type | Class and Description |
---|---|
static class |
EnvironmentMvcEndpoint.NoSuchPropertyException |
Constructor and Description |
---|
EnvironmentMvcEndpoint(EnvironmentEndpoint delegate) |
Modifier and Type | Method and Description |
---|---|
void |
setEnvironment(Environment environment) |
Object |
value(String name) |
getDelegate, getEndpointType, getPath, invoke, isSensitive
public EnvironmentMvcEndpoint(EnvironmentEndpoint delegate)
@RequestMapping(value="/{name:.*}", method=GET) @ResponseBody public Object value(@PathVariable String name)
public void setEnvironment(Environment environment)
setEnvironment
in interface EnvironmentAware
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.