com.sinch.sdk.core.http.HttpStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sinch-sdk-java Show documentation
Show all versions of sinch-sdk-java Show documentation
SDK providing a Java API for the Sinch REST APIs.
package com.sinch.sdk.core.http;
import java.net.HttpURLConnection;
public class HttpStatus {
public static Integer UNAUTHORIZED = HttpURLConnection.HTTP_UNAUTHORIZED;
public static boolean isSuccessfulStatus(int statusCode) {
return statusCode >= 200 && statusCode < 300;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy