Uses of Class
org.mineskin.ClientBuilder
Packages that use ClientBuilder
-
Uses of ClientBuilder in org.mineskin
Methods in org.mineskin that return ClientBuilderModifier and TypeMethodDescriptionSet the API keySet the base URL for the APIstatic ClientBuilderMineSkinClient.builder()static ClientBuilderClientBuilder.create()Create a new ClientBuilderClientBuilder.generateExecutor(Executor generateExecutor) Set the Executor for generate requestsClientBuilder.generateQueueOptions(QueueOptions queueOptions) Set the options for submitting queue jobs
defaults to 200ms interval and 1 concurrent requestClientBuilder.generateRequestScheduler(ScheduledExecutorService scheduledExecutor) Deprecated.ClientBuilder.getExecutor(Executor getExecutor) Set the Executor for get requestsClientBuilder.getQueueOptions(QueueOptions queueOptions) Set the options for get requests, e.g. getting skins
defaults to 100ms interval and 5 concurrent requestsClientBuilder.getRequestScheduler(ScheduledExecutorService scheduledExecutor) Deprecated.usegetQueueOptions(QueueOptions)insteadClientBuilder.gson(com.google.gson.Gson gson) Set the Gson instanceClientBuilder.jobCheckOptions(JobCheckOptions jobCheckOptions) Set the options for checking job status
defaults to 1000ms interval, 2000ms initial delay, and 10 max attemptsClientBuilder.jobCheckScheduler(ScheduledExecutorService scheduledExecutor) Deprecated.usejobCheckOptions(JobCheckOptions)insteadClientBuilder.requestHandler(RequestHandlerConstructor requestHandlerConstructor) Set the constructor for the RequestHandlerClientBuilder.timeout(int timeout) Set the timeoutSet the User-Agent
generateQueueOptions(QueueOptions)instead