public class ICP4DAuthenticator
extends java.lang.Object
implements java.util.function.Function<org.apache.http.client.fluent.Executor,java.lang.String>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
apply(org.apache.http.client.fluent.Executor executor) |
com.google.gson.JsonObject |
config(boolean verify) |
static ICP4DAuthenticator |
of(com.google.gson.JsonObject service) |
static ICP4DAuthenticator |
of(java.lang.String urlS,
java.lang.String instanceName,
java.lang.String user,
java.lang.String password) |
public static ICP4DAuthenticator of(java.lang.String urlS, java.lang.String instanceName, java.lang.String user, java.lang.String password) throws java.net.MalformedURLException, java.io.UnsupportedEncodingException
java.net.MalformedURLException
java.io.UnsupportedEncodingException
public com.google.gson.JsonObject config(boolean verify) throws java.io.IOException
java.io.IOException
public static ICP4DAuthenticator of(com.google.gson.JsonObject service) throws java.net.MalformedURLException, java.io.UnsupportedEncodingException
java.net.MalformedURLException
java.io.UnsupportedEncodingException
public java.lang.String apply(org.apache.http.client.fluent.Executor executor)
apply
in interface java.util.function.Function<org.apache.http.client.fluent.Executor,java.lang.String>