public class ICP4DAuthenticator
extends java.lang.Object
implements java.util.function.Function<org.apache.http.client.fluent.Executor,java.lang.String>
of(String, String, String, String)
or from internal when created with #of(JsonObject).| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
apply(org.apache.http.client.fluent.Executor executor) |
com.google.gson.JsonObject |
config(boolean verify,
boolean forceRecreate) |
com.google.gson.JsonObject |
config(boolean verify) |
static ICP4DAuthenticator |
of(com.google.gson.JsonObject service,
boolean verify) |
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.MalformedURLExceptionjava.io.UnsupportedEncodingExceptionpublic static ICP4DAuthenticator of(com.google.gson.JsonObject service, boolean verify) throws java.net.MalformedURLException, java.io.UnsupportedEncodingException
java.net.MalformedURLExceptionjava.io.UnsupportedEncodingExceptionpublic com.google.gson.JsonObject config(boolean verify)
throws java.io.IOException
java.io.IOExceptionpublic com.google.gson.JsonObject config(boolean verify,
boolean forceRecreate)
throws java.io.IOException
java.io.IOExceptionpublic 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>