Interface ConnectionApi
-
public interface ConnectionApiConnection management features.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateOrUpdateConnectionThrottle(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.booleandeleteConnectionThrottle()Delete connection throttle.voiddisableConnectionLogging()Disable logging connections.voidenableConnectionLogging()Enable logging connections.ConnectionThrottlegetConnectionThrottle()Get connection throttle.booleanisConnectionLogging()Determine if the load balancer is logging connections.
-
-
-
Method Detail
-
createOrUpdateConnectionThrottle
@Named("connectionthrottle:create") @PUT @Consumes("application/json") @Path("/connectionthrottle") 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.
-
getConnectionThrottle
@Named("connectionthrottle:get") @GET @Consumes("application/json") @Path("/connectionthrottle") ConnectionThrottle getConnectionThrottle()Get connection throttle.
-
deleteConnectionThrottle
@Named("connectionthrottle:delete") @DELETE @Path("/connectionthrottle") @Consumes("*/*") boolean deleteConnectionThrottle()Delete connection throttle.- Returns:
- true on a successful delete, false if the connection throttle was not found.
-
isConnectionLogging
@Named("connectionlogging:state") @GET @Consumes("application/json") @Path("/connectionlogging") boolean isConnectionLogging()Determine if the load balancer is logging connections.
-
enableConnectionLogging
@Named("connectionlogging:state") @PUT @Produces("application/json") @Consumes("application/json") @Path("/connectionlogging") void enableConnectionLogging()Enable logging connections.
-
disableConnectionLogging
@Named("connectionlogging:state") @PUT @Produces("application/json") @Consumes("application/json") @Path("/connectionlogging") void disableConnectionLogging()Disable logging connections.
-
-