com.yoti.api.client.spi.remote.call.SignedRequestBuilderFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yoti-sdk-api Show documentation
Show all versions of yoti-sdk-api Show documentation
Java SDK for simple integration with the Yoti platform
The newest version!
package com.yoti.api.client.spi.remote.call;
import com.yoti.api.client.spi.remote.call.factory.HeadersFactory;
import com.yoti.api.client.spi.remote.call.factory.PathFactory;
import com.yoti.api.client.spi.remote.call.factory.SignedMessageFactory;
public class SignedRequestBuilderFactory {
private static final PathFactory pathFactory;
private static final SignedMessageFactory signedMessageFactory;
private static final HeadersFactory headersFactory;
private static final JsonResourceFetcher jsonResourceFetcher;
private static final RawResourceFetcher rawResourceFetcher;
private static final ImageResourceFetcher imageResourceFetcher;
static {
pathFactory = new PathFactory();
signedMessageFactory = SignedMessageFactory.newInstance();
headersFactory = new HeadersFactory();
rawResourceFetcher = new RawResourceFetcher();
jsonResourceFetcher = JsonResourceFetcher.newInstance(rawResourceFetcher);
imageResourceFetcher = ImageResourceFetcher.newInstance(rawResourceFetcher);
}
public SignedRequestBuilder create() {
return new SignedRequestBuilder(pathFactory, signedMessageFactory, headersFactory, jsonResourceFetcher, rawResourceFetcher, imageResourceFetcher);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy