@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value=HttpServiceConfiguration.class) public @interface EnableHttpService
@Configuration
annotated class to configure and enable GemFire/Geode's embedded HTTP service.
By using this annotation, this allows GemFire's embedded HTTP services, like Pulse, the Management REST API
and the Developer REST API to be enabled.HttpServiceConfiguration
,
Developing REST Applications for Apache GeodeModifier and Type | Optional Element and Description |
---|---|
String |
bindAddress
If set, then the GemFire member binds the embedded HTTP service to the specified address.
|
int |
port
If non-zero, then GemFire starts an embedded HTTP service that listens on this port.
|
boolean |
sslRequireAuthentication
Boolean indicating whether to require authentication for HTTP service connections.
|
boolean |
startDeveloperRestApi
If set to true, then the developer REST API service will be started when cache is created.
|
public abstract String bindAddress
public abstract int port
public abstract boolean sslRequireAuthentication
EnableSsl
annotation and set the
EnableSsl.components()
to contain
EnableSsl.Component.HTTP
.
Defaults to false.public abstract boolean startDeveloperRestApi
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.