Class ServerRequest<T>
java.lang.Object
systems.dennis.shared.servers.beans.ServerRequest<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServerRequest(org.springframework.web.client.RestTemplate restTemplate, systems.dennis.shared.config.WebContext context) -
Method Summary
Modifier and TypeMethodDescriptioncontentType(org.springframework.http.MediaType contentType) Deprecated.as normally default type doesn't require this headervoidexecuteDelete(Class<T> tClass) <E> TexecuteGet(Class<T> tClass) <E> TexecutePatch(E object, Class<T> tClass) <E> TexecutePost(E object, Class<T> tClass) <E> TexecutePut(E object, Class<T> tClass) onAnyErrorStatusError(systems.dennis.shared.utils.Supplier<?> e) onErrorStatusError(int status, systems.dennis.shared.utils.Supplier<?> e) scope()server(ServerConfig server)
-
Field Details
-
AUTH_TYPE_HEADER
-
AUTH_SCOPE_HEADER
-
AUTH_TYPE_DEFAULT
- See Also:
-
AUTH_TYPE_VIRTUAL
-
-
Constructor Details
-
Method Details
-
virtualAuth
-
uri
-
server
-
token
-
scope
-
header
-
contentType
-
defaultAuthType
Deprecated.as normally default type doesn't require this header -
executePost
-
executePut
-
executePatch
-
executeGet
-
executeDelete
-