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

com.github.petruki.switcher.client.service.ClientService Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
package com.github.petruki.switcher.client.service;

import java.util.Map;

import javax.ws.rs.core.Response;

import com.github.petruki.switcher.client.domain.Switcher;

/**
 * @author rogerio
 * @since 2019-12-24
 */
public interface ClientService {
	
	String AUTH_RESPONSE = "authResponse";
	String HEADER_AUTHORIZATION = "Authorization";
	String HEADER_APIKEY = "switcher-api-key";
	String TOKEN_TEXT = "Bearer %s";
	String AUTH_URL = "%s/auth";
	
	public Response executeCriteriaService(final Map properties, 
			final Switcher switcher) throws Exception;
	
	public Response auth(final Map properties) throws Exception;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy