Package org.ehrbase.api.rest
Class HttpRestContext
java.lang.Object
org.ehrbase.api.rest.HttpRestContext
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic HttpRestContext.CtxAttr<UUID> static HttpRestContext.CtxAttr<UUID> static HttpRestContext.CtxAttr<String> static HttpRestContext.CtxAttr<UUID> static HttpRestContext.CtxAttr<String> static HttpRestContext.CtxAttr<String> static HttpRestContext.CtxAttr<Boolean> static HttpRestContext.CtxAttr<String> static HttpRestContext.CtxAttr<Set<String>> static HttpRestContext.CtxAttr<String> static HttpRestContext.CtxAttr<Integer> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclear()<T> TgetValueBy(HttpRestContext.CtxAttr<T> key) static voidhandle(HttpRestContextHandler handler) static <V> voidregister(HttpRestContext.CtxAttr<V> key, V value) static <V0,V1> void register(HttpRestContext.CtxAttr<V0> key0, V0 value0, HttpRestContext.CtxAttr<V1> key1, V1 value1) static <V0,V1, V2>
voidregister(HttpRestContext.CtxAttr<V0> key0, V0 value0, HttpRestContext.CtxAttr<V1> key1, V1 value1, HttpRestContext.CtxAttr<V2> key2, V2 value2) static <V0,V1, V2, V3>
voidregister(HttpRestContext.CtxAttr<V0> key0, V0 value0, HttpRestContext.CtxAttr<V1> key1, V1 value1, HttpRestContext.CtxAttr<V2> key2, V2 value2, HttpRestContext.CtxAttr<V3> key3, V3 value3) static <V0,V1, V2, V3, V4>
voidregister(HttpRestContext.CtxAttr<V0> key0, V0 value0, HttpRestContext.CtxAttr<V1> key1, V1 value1, HttpRestContext.CtxAttr<V2> key2, V2 value2, HttpRestContext.CtxAttr<V3> key3, V3 value3, HttpRestContext.CtxAttr<V4> key4, V4 value4)
-
Field Details
-
QUERY
-
QUERY_ID
-
LOCATION
-
VERSION
-
EHR_ID
-
TEMPLATE_ID
-
COMPOSITION_ID
-
DIRECTORY_ID
-
CONTRIBUTION_ID
-
REMOVED_PATIENTS
-
QUERY_EXECUTE_ENDPOINT
-
-
Constructor Details
-
HttpRestContext
public HttpRestContext()
-
-
Method Details
-
clear
public static void clear() -
getValueBy
-
register
-
register
public static <V0,V1> void register(HttpRestContext.CtxAttr<V0> key0, V0 value0, HttpRestContext.CtxAttr<V1> key1, V1 value1) -
register
public static <V0,V1, void registerV2> (HttpRestContext.CtxAttr<V0> key0, V0 value0, HttpRestContext.CtxAttr<V1> key1, V1 value1, HttpRestContext.CtxAttr<V2> key2, V2 value2) -
register
public static <V0,V1, void registerV2, V3> (HttpRestContext.CtxAttr<V0> key0, V0 value0, HttpRestContext.CtxAttr<V1> key1, V1 value1, HttpRestContext.CtxAttr<V2> key2, V2 value2, HttpRestContext.CtxAttr<V3> key3, V3 value3) -
register
public static <V0,V1, void registerV2, V3, V4> (HttpRestContext.CtxAttr<V0> key0, V0 value0, HttpRestContext.CtxAttr<V1> key1, V1 value1, HttpRestContext.CtxAttr<V2> key2, V2 value2, HttpRestContext.CtxAttr<V3> key3, V3 value3, HttpRestContext.CtxAttr<V4> key4, V4 value4) -
handle
-