Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

CordovaHttpOperation.java 1000B

12345678910111213141516171819202122232425
  1. package com.silkimen.cordovahttp;
  2. import javax.net.ssl.HostnameVerifier;
  3. import javax.net.ssl.SSLSocketFactory;
  4. import com.silkimen.http.TLSConfiguration;
  5. import org.apache.cordova.CallbackContext;
  6. import org.json.JSONObject;
  7. class CordovaHttpOperation extends CordovaHttpBase {
  8. public CordovaHttpOperation(String method, String url, String serializer, Object data, JSONObject headers,
  9. int timeout, boolean followRedirects, String responseType, TLSConfiguration tlsConfiguration,
  10. CallbackContext callbackContext) {
  11. super(method, url, serializer, data, headers, timeout, followRedirects, responseType, tlsConfiguration,
  12. callbackContext);
  13. }
  14. public CordovaHttpOperation(String method, String url, JSONObject headers, int timeout, boolean followRedirects,
  15. String responseType, TLSConfiguration tlsConfiguration, CallbackContext callbackContext) {
  16. super(method, url, headers, timeout, followRedirects, responseType, tlsConfiguration, callbackContext);
  17. }
  18. }