Class NonReaktiveWebClientHttpAdapter
java.lang.Object
org.linkedopenactors.rdfpub.client2024.NonReaktiveWebClientHttpAdapter
- All Implemented Interfaces:
HttpAdapter
-
Field Summary
Fields inherited from interface org.linkedopenactors.rdfpub.client2024.HttpAdapter
MEDIA_TYPE_JSON_LD, MEDIA_TYPE_TURTLE
-
Constructor Summary
ConstructorDescriptionNonReaktiveWebClientHttpAdapter
(org.springframework.web.reactive.function.client.WebClient client) -
Method Summary
Modifier and TypeMethodDescriptionget
(String idOfTheResourceToRead, HttpHeaderAttribute... headerAttributes) get
(org.springframework.http.MediaType mediaType, String idOfTheResourceToRead, HttpHeaderAttribute... headerAttributes) getAuthenticated
(String url, HttpHeaderAttribute... headerAttributes)
-
Constructor Details
-
NonReaktiveWebClientHttpAdapter
public NonReaktiveWebClientHttpAdapter(org.springframework.web.reactive.function.client.WebClient client)
-
-
Method Details
-
get
- Specified by:
get
in interfaceHttpAdapter
-
get
public Response get(org.springframework.http.MediaType mediaType, String idOfTheResourceToRead, HttpHeaderAttribute... headerAttributes) - Specified by:
get
in interfaceHttpAdapter
-
getAuthenticated
- Specified by:
getAuthenticated
in interfaceHttpAdapter
-
post
- Specified by:
post
in interfaceHttpAdapter
-
post
- Specified by:
post
in interfaceHttpAdapter
-