Interface SessionPersistenceApi


public interface SessionPersistenceApi
Session persistence is a feature of the load balancing service that forces multiple requests from clients to be directed to the same node. This is common with many web applications that do not inherently share application state between back-end servers. Two session persistence modes are available, HTTP Cookie and Source IP.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    create(SessionPersistence sessionPersistence)
    Create session persistence.
    void
    Delete session persistence.
    get()
    Get the current session persistence.
  • Method Details

    • get

      @Named("sessionpersistence:get") @GET @Consumes("application/json") @Path("/sessionpersistence") SessionPersistence get()
      Get the current session persistence.
      See Also:
    • create

      @Named("sessionpersistence:create") @PUT @Produces("application/json") @Consumes("application/json") @Path("/sessionpersistence") void create(SessionPersistence sessionPersistence)
      Create session persistence.
      See Also:
    • delete

      @Named("sessionpersistence:delete") @DELETE @Consumes("application/json") @Path("/sessionpersistence") void delete()
      Delete session persistence.
      See Also: