All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ecwid.consul.v1.session.SessionClient Maven / Gradle / Ivy

package com.ecwid.consul.v1.session;

import com.ecwid.consul.v1.QueryParams;
import com.ecwid.consul.v1.Response;
import com.ecwid.consul.v1.session.model.NewSession;
import com.ecwid.consul.v1.session.model.Session;

import java.util.List;

/**
 * @author Vasily Vasilkov ([email protected])
 */
public interface SessionClient {

	public Response sessionCreate(NewSession newSession, QueryParams queryParams);

	public Response sessionCreate(NewSession newSession, QueryParams queryParams, String token);

	public Response sessionDestroy(String session, QueryParams queryParams);

	public Response sessionDestroy(String session, QueryParams queryParams, String token);

	Response getSessionInfo(String session, QueryParams queryParams);

	Response getSessionInfo(String session, QueryParams queryParams, String token);

	Response> getSessionNode(String node, QueryParams queryParams);

	Response> getSessionNode(String node, QueryParams queryParams, String token);

	Response> getSessionList(QueryParams queryParams);

	Response> getSessionList(QueryParams queryParams, String token);

	Response renewSession(String session, QueryParams queryParams);

	Response renewSession(String session, QueryParams queryParams, String token);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy