|
|
@ -26,7 +26,11 @@ import io.entgra.device.mgt.core.apimgt.extension.rest.api.exceptions.BadRequest
|
|
|
|
import io.entgra.device.mgt.core.apimgt.extension.rest.api.exceptions.UnexpectedResponseException;
|
|
|
|
import io.entgra.device.mgt.core.apimgt.extension.rest.api.exceptions.UnexpectedResponseException;
|
|
|
|
import io.entgra.device.mgt.core.apimgt.extension.rest.api.util.HttpsTrustManagerUtils;
|
|
|
|
import io.entgra.device.mgt.core.apimgt.extension.rest.api.util.HttpsTrustManagerUtils;
|
|
|
|
import io.entgra.device.mgt.core.apimgt.extension.rest.api.util.ScopeUtils;
|
|
|
|
import io.entgra.device.mgt.core.apimgt.extension.rest.api.util.ScopeUtils;
|
|
|
|
import okhttp3.*;
|
|
|
|
import okhttp3.MediaType;
|
|
|
|
|
|
|
|
import okhttp3.OkHttpClient;
|
|
|
|
|
|
|
|
import okhttp3.Request;
|
|
|
|
|
|
|
|
import okhttp3.Response;
|
|
|
|
|
|
|
|
import okhttp3.RequestBody;
|
|
|
|
import org.apache.commons.httpclient.HttpStatus;
|
|
|
|
import org.apache.commons.httpclient.HttpStatus;
|
|
|
|
import org.apache.commons.logging.Log;
|
|
|
|
import org.apache.commons.logging.Log;
|
|
|
|
import org.apache.commons.logging.LogFactory;
|
|
|
|
import org.apache.commons.logging.LogFactory;
|
|
|
|