public class HttpServiceFactory extends ServiceVerticleFactory
Modifier and Type | Field and Description |
---|---|
static String |
AUTH_PASSWORD_PROPERTY |
static String |
AUTH_USERNAME_PROPERTY |
static String |
CACHE_DIR_PROPERTY |
static String |
HTTP_CLIENT_OPTIONS_PROPERTY |
static String |
HTTPS_CLIENT_OPTIONS_PROPERTY |
static String |
KEYSERVER_URI_TEMPLATE |
static String |
PROXY_HOST_PROPERTY |
static String |
PROXY_PORT_PROPERTY |
static String |
VALIDATION_POLICY |
Constructor and Description |
---|
HttpServiceFactory() |
Modifier and Type | Method and Description |
---|---|
protected HttpClientOptions |
configOptions() |
protected HttpClientOptions |
createHttpClientOptions(String scheme) |
protected void |
createVerticle(String verticleName,
DeploymentOptions deploymentOptions,
ClassLoader classLoader,
Promise<Callable<Verticle>> promise) |
protected void |
doRequest(HttpClient client,
File file,
URI url,
File signatureFile,
URI signatureURL,
Handler<AsyncResult<io.vertx.ext.httpservicefactory.HttpServiceFactory.Result>> handler) |
void |
init(Vertx vertx)
Initialise the factory
|
String |
prefix() |
createVerticle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, order, removePrefix
public static final String CACHE_DIR_PROPERTY
public static final String HTTP_CLIENT_OPTIONS_PROPERTY
public static final String HTTPS_CLIENT_OPTIONS_PROPERTY
public static final String AUTH_USERNAME_PROPERTY
public static final String AUTH_PASSWORD_PROPERTY
public static final String PROXY_HOST_PROPERTY
public static final String PROXY_PORT_PROPERTY
public static final String KEYSERVER_URI_TEMPLATE
public static final String VALIDATION_POLICY
public void init(Vertx vertx)
VerticleFactory
vertx
- The Vert.x instanceprotected HttpClientOptions createHttpClientOptions(String scheme)
protected HttpClientOptions configOptions()
public String prefix()
prefix
in interface VerticleFactory
prefix
in class ServiceVerticleFactory
protected void createVerticle(String verticleName, DeploymentOptions deploymentOptions, ClassLoader classLoader, Promise<Callable<Verticle>> promise)
createVerticle
in class ServiceVerticleFactory
protected void doRequest(HttpClient client, File file, URI url, File signatureFile, URI signatureURL, Handler<AsyncResult<io.vertx.ext.httpservicefactory.HttpServiceFactory.Result>> handler)
Copyright © 2022 Eclipse. All rights reserved.