com.verisec.frejaeid.client.http.HttpServiceApi Maven / Gradle / Ivy
package com.verisec.frejaeid.client.http;
import com.verisec.frejaeid.client.beans.common.FrejaHttpResponse;
import com.verisec.frejaeid.client.beans.common.RelyingPartyRequest;
import com.verisec.frejaeid.client.exceptions.FrejaEidClientInternalException;
import com.verisec.frejaeid.client.exceptions.FrejaEidException;
import com.verisec.frejaeid.client.util.RequestTemplate;
import java.io.UnsupportedEncodingException;
import java.util.Map;
public interface HttpServiceApi {
public Response send(String methodUrl, RequestTemplate requestTemplate,
RelyingPartyRequest relyingPartyRequest,
Class responseType, String relyingPartyId)
throws FrejaEidClientInternalException, FrejaEidException;
public byte[] httpGet(String methodUrl, Map parameters)
throws FrejaEidClientInternalException, FrejaEidException, UnsupportedEncodingException;
}