-
- 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, List<String>> query, Map<String, String> headers)
NotionHttpResponse
postTextBody(NotionLogger logger, String url, Map<String, List<String>> query, String body, Map<String, String> headers)
NotionHttpResponse
patchTextBody(NotionLogger logger, String url, Map<String, List<String>> query, String body, Map<String, String> headers)
NotionHttpResponse
delete(NotionLogger logger, String url, Map<String, List<String>> query, Map<String, String> headers)
-
Methods inherited from class notion.api.v1.http.HttpUrlConnNotionHttpClient
buildFullUrl, buildQueryString, close, debugLogStart, debugLogSuccess, urlEncode, warnLogFailure
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
get
NotionHttpResponse get(NotionLogger logger, String url, Map<String, List<String>> query, Map<String, String> headers)
-
postTextBody
NotionHttpResponse postTextBody(NotionLogger logger, String url, Map<String, List<String>> query, String body, Map<String, String> headers)
-
patchTextBody
NotionHttpResponse patchTextBody(NotionLogger logger, String url, Map<String, List<String>> query, String body, Map<String, String> headers)
-
-
-
-