primaryInstance
return the primary UnirestInstance.
- Returns:
- a new UnirestInstance
static Configconfig()static HttpRequestWithBodystatic GetRequeststatic GetRequeststatic JsonPatchRequeststatic GetRequeststatic HttpRequestWithBodystatic HttpRequestWithBodystatic UnirestInstancestatic HttpRequestWithBodystatic HttpRequestWithBodystatic voidshutDown()static voidshutDown(boolean clearOptions) static UnirestInstancestatic WebSocketRequestclearOptions - indicates if options should be cleared. Note that the HttpClient, AsyncClient and thread monitors will not be retained after shutDown.url - the endpoint to access. Can include placeholders for path params using curly braces {}url - the endpoint to access. Can include placeholders for path params using curly braces {}url - the endpoint to access. Can include placeholders for path params using curly braces {}url - the endpoint to access. Can include placeholders for path params using curly braces {}url - the endpoint to access. Can include placeholders for path params using curly braces {}url - the endpoint to access. Can include placeholders for path params using curly braces {}url - the endpoint to access. Can include placeholders for path params using curly braces {}url - the endpoint to access. Can include placeholders for path params using curly braces {}