Class ElevenNetworkUtil

java.lang.Object
net.andrewcpu.elevenlabs.util.ElevenNetworkUtil

public class ElevenNetworkUtil extends Object
  • Constructor Details

    • ElevenNetworkUtil

      public ElevenNetworkUtil()
  • Method Details

    • buildQueryParameters

      public static String buildQueryParameters(Map<String,String> parameters)
    • getRequest

      public static org.apache.hc.client5.http.classic.methods.HttpUriRequestBase getRequest(HttpRequestType type, String path)
    • getRequest

      public static org.apache.hc.client5.http.classic.methods.HttpUriRequestBase getRequest(HttpRequestType method, String path, Object payload) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • sendRequest

      public static <T> T sendRequest(HttpRequestType method, String path, Object payload, Class<T> responseType)