Skip to content

HttpProxyClient

class io.github.jwdeveloper.tiktok.client.http.HttpProxyClient

public class HttpProxyClient extends HttpClient
public HttpProxyClient(HttpClientSettings httpClientSettings, String url, HttpRequest.BodyPublisher bodyPublisher)
  • httpClientSettings (HttpClientSettings)
  • url (String)
  • bodyPublisher (HttpRequest.BodyPublisher)
public HttpProxyClient(HttpClientSettings httpClientSettings, String url, HttpRequest.BodyPublisher bodyPublisher, HttpClientFactory httpClientFactory)
public <T> ActionResult<HttpResponse<T>> handleHttpProxyRequest(HttpResponse.BodyHandler<T> handler)
  • handler (HttpResponse.BodyHandler<T>)

ActionResult<HttpResponse<T>>

public <T> ActionResult<HttpResponse<T>> toHttpResponse(HttpResponse.BodyHandler<T> handler)
  • handler (HttpResponse.BodyHandler<T>)

ActionResult<HttpResponse<T>>

Client/src/main/java/io/github/jwdeveloper/tiktok/client/http/HttpProxyClient.java:42