-
- All Implemented Interfaces:
-
java.io.Closeable
,java.lang.AutoCloseable
,notion.api.v1.http.NotionHttpClient
public final class HttpUrlConnNotionHttpClient implements NotionHttpClient
-
-
Constructor Summary
Constructors Constructor Description HttpUrlConnNotionHttpClient(Integer connectTimeoutMillis, Integer readTimeoutMillis)
-
Method Summary
Modifier and Type Method Description NotionHttpResponse
get(NotionLogger logger, String url, Map<String, String> query, Map<String, String> headers)
NotionHttpResponse
postTextBody(NotionLogger logger, String url, Map<String, String> query, String body, Map<String, String> headers)
NotionHttpResponse
patchTextBody(NotionLogger logger, String url, Map<String, String> query, String body, Map<String, String> headers)
-
-
Method Detail
-
get
NotionHttpResponse get(NotionLogger logger, String url, Map<String, String> query, Map<String, String> headers)
-
postTextBody
NotionHttpResponse postTextBody(NotionLogger logger, String url, Map<String, String> query, String body, Map<String, String> headers)
-
patchTextBody
NotionHttpResponse patchTextBody(NotionLogger logger, String url, Map<String, String> query, String body, Map<String, String> headers)
-
-
-
-