Class ApiStrategy

java.lang.Object
com.cloudinary.strategies.AbstractApiStrategy
com.cloudinary.http44.ApiStrategy

public class ApiStrategy
extends com.cloudinary.strategies.AbstractApiStrategy
  • Field Summary

    Fields inherited from class com.cloudinary.strategies.AbstractApiStrategy

    api
  • Constructor Summary

    Constructors 
    Constructor Description
    ApiStrategy()  
  • Method Summary

    Modifier and Type Method Description
    com.cloudinary.api.ApiResponse callAccountApi​(com.cloudinary.Api.HttpMethod method, java.lang.Iterable<java.lang.String> uri, java.util.Map<java.lang.String,​?> params, java.util.Map options)  
    com.cloudinary.api.ApiResponse callApi​(com.cloudinary.Api.HttpMethod method, java.lang.Iterable<java.lang.String> uri, java.util.Map<java.lang.String,​?> params, java.util.Map options)  
    void init​(com.cloudinary.Api api)  

    Methods inherited from class com.cloudinary.strategies.AbstractApiStrategy

    createApiUrl, getAuthorizationHeaderValue, validateAuthorization

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • init

      public void init​(com.cloudinary.Api api)
      Overrides:
      init in class com.cloudinary.strategies.AbstractApiStrategy
    • callApi

      public com.cloudinary.api.ApiResponse callApi​(com.cloudinary.Api.HttpMethod method, java.lang.Iterable<java.lang.String> uri, java.util.Map<java.lang.String,​?> params, java.util.Map options) throws java.lang.Exception
      Specified by:
      callApi in class com.cloudinary.strategies.AbstractApiStrategy
      Throws:
      java.lang.Exception
    • callAccountApi

      public com.cloudinary.api.ApiResponse callAccountApi​(com.cloudinary.Api.HttpMethod method, java.lang.Iterable<java.lang.String> uri, java.util.Map<java.lang.String,​?> params, java.util.Map options) throws java.lang.Exception
      Specified by:
      callAccountApi in class com.cloudinary.strategies.AbstractApiStrategy
      Throws:
      java.lang.Exception