io.github.openunirest.http.options.Option Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unirest-java Show documentation
Show all versions of unirest-java Show documentation
Simplified, lightweight HTTP client library
package io.github.openunirest.http.options;
public enum Option {
HTTPCLIENT(false),
ASYNCHTTPCLIENT(false),
CONNECTION_TIMEOUT,
SOCKET_TIMEOUT,
DEFAULT_HEADERS,
SYNC_MONITOR(false),
ASYNC_MONITOR(false),
MAX_TOTAL,
MAX_PER_ROUTE,
PROXY,
OBJECT_MAPPER,
FOLLOW_REDIRECTS,
COOKIE_MANAGEMENT;
private final boolean canSurviveShutdown;
Option(){this(true);}
Option(boolean canSurviveShutdown){
this.canSurviveShutdown = canSurviveShutdown;
}
public boolean canSurviveShutdown() {
return canSurviveShutdown;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy