com.xeiam.xchange.coinsetter.rs.CoinsetterClientSession Maven / Gradle / Ivy
package com.xeiam.xchange.coinsetter.rs;
import java.io.IOException;
import java.util.UUID;
import javax.ws.rs.Consumes;
import javax.ws.rs.HeaderParam;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import com.xeiam.xchange.coinsetter.CoinsetterException;
import com.xeiam.xchange.coinsetter.dto.CoinsetterResponse;
import com.xeiam.xchange.coinsetter.dto.clientsession.request.CoinsetterLoginRequest;
/**
* RESTful/JSON API: ClientSession.
*/
@Path("/clientSession")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
public interface CoinsetterClientSession {
@POST
public com.xeiam.xchange.coinsetter.dto.clientsession.response.CoinsetterClientSession login(CoinsetterLoginRequest request)
throws CoinsetterException, IOException;
@PUT
@Path("{client-session-id}")
public CoinsetterResponse action(@HeaderParam("coinsetter-client-session-id") @PathParam("client-session-id") UUID clientSessionId,
@QueryParam("action") String action) throws CoinsetterException, IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy