Interface ConnectionApi


public interface ConnectionApi
Connection management features.

  • Method Details

    • 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.