Interface ConnectionApi
-
public interface ConnectionApi
Connection management features.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
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.
-
-