public interface ConnectionApi
Modifier and Type | Method and Description |
---|---|
void |
createOrUpdateConnectionThrottle(ConnectionThrottle connectionThrottle)
The connection throttling feature imposes limits on the number of connections per IP address to help mitigate
malicious or abusive traffic to your applications.
|
boolean |
deleteConnectionThrottle()
Delete connection throttle.
|
void |
disableConnectionLogging()
Disable logging connections.
|
void |
enableConnectionLogging()
Enable logging connections.
|
ConnectionThrottle |
getConnectionThrottle()
Get connection throttle.
|
boolean |
isConnectionLogging()
Determine if the load balancer is logging connections.
|
@Named(value="connectionthrottle:create") @PUT @Consumes(value="application/json") @Path(value="/connectionthrottle") void createOrUpdateConnectionThrottle(ConnectionThrottle connectionThrottle)
@Named(value="connectionthrottle:get") @GET @Consumes(value="application/json") @Path(value="/connectionthrottle") ConnectionThrottle getConnectionThrottle()
@Named(value="connectionthrottle:delete") @DELETE @Path(value="/connectionthrottle") @Consumes(value="*/*") boolean deleteConnectionThrottle()
@Named(value="connectionlogging:state") @GET @Consumes(value="application/json") @Path(value="/connectionlogging") boolean isConnectionLogging()
@Named(value="connectionlogging:state") @PUT @Produces(value="application/json") @Consumes(value="application/json") @Path(value="/connectionlogging") void enableConnectionLogging()
@Named(value="connectionlogging:state") @PUT @Produces(value="application/json") @Consumes(value="application/json") @Path(value="/connectionlogging") void disableConnectionLogging()
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.