Uses of Class
no.digipost.signature.client.ClientConfiguration.Builder
Packages that use ClientConfiguration.Builder
-
Uses of ClientConfiguration.Builder in no.digipost.signature.client
Methods in no.digipost.signature.client that return ClientConfiguration.BuilderModifier and TypeMethodDescriptionClientConfiguration.Builder.addDocumentBundleProcessor(DocumentBundleProcessor processor) Add aDocumentBundleProcessorwhich will be passed the generated zipped document bundle together with thejobit was created for.ClientConfiguration.Builder.apacheHttpClient(Consumer<? super ApacheHttpClientConfigurer> apacheHttpClientConfigurer) This method allows for custom configuration of the createdHttpClientif anything is needed that is not already supported by other methods inClientConfiguration.ClientConfiguration.Builder.apacheHttpClientForDocumentDownloads(Consumer<? super ApacheHttpClientConfigurer> apacheHttpClientConfigurer) This method allows for custom configuration of the createdHttpClientif anything is needed that is not already supported by other methods inClientConfiguration.static ClientConfiguration.BuilderClientConfiguration.builder(KeyStoreConfig keystore) Build a newClientConfiguration.Allows for overriding whichClockis used to convert between Java and XML, may be useful for e.g.ClientConfiguration.Builder.connectionPool(Consumer<? super ConnectionPoolConfigurer> connectionPool) Configure the pool used by the client to manage connections used for integrating with the API.ClientConfiguration.Builder.connectionPoolForDocumentDownloads(Consumer<? super ConnectionPoolConfigurer> connectionPool) Configure the pool used by the client to manage connections used specifically for downloading documents.ClientConfiguration.Builder.defaultSender(Sender sender) Set the defaultSenderto use if not specifying sender per signature job.ClientConfiguration.Builder.enableDocumentBundleDiskDump(Path directory) Have the library dump the generated document bundle zip files to disk before they are sent to the service to create signature jobs.ClientConfiguration.Builder.httpProxyHost(String hostname, int port) Set the http proxy host used by the client.ClientConfiguration.Builder.includeInUserAgent(String userAgentCustomPart) Customize theUser-Agentheader value to include the given string.Set URI to proxy host to be used by the client.ClientConfiguration.Builder.serverCertificateTrustStrategy(CertificateChainValidation certificateChainValidation) Override the validation of the server's certificate.ClientConfiguration.Builder.serverOrganizationNumber(String serverOrganizationNumber) Override which organization number which is expected from the server's certificate.ClientConfiguration.Builder.serviceEnvironment(UnaryOperator<ServiceEnvironment> updateServiceEnvironment) ClientConfiguration.Builder.serviceEnvironment(ServiceEnvironment other) ClientConfiguration.Builder.timeouts(Consumer<? super TimeoutsConfigurer> timeouts) Configure timeouts used for integrating with the API.ClientConfiguration.Builder.timeoutsForDocumentDownloads(Consumer<? super TimeoutsConfigurer> timeouts) Configure timeouts used for downloading documents.