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 Detail

      • get

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

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

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