Class ResponseCapture
- java.lang.Object
-
- org.gcube.informationsystem.resourceregistry.api.client.ResponseCapture
-
public final class ResponseCapture extends Object
Internal scoped response capture used by the opt-in response executor.- Author:
- Luca Frosini (ISTI - CNR)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidrecord(ResponseMetadata metadata)Records metadata only when an opt-in response scope is active on the current thread.
-
-
-
Method Detail
-
record
public static void record(ResponseMetadata metadata)
Records metadata only when an opt-in response scope is active on the current thread.- Parameters:
metadata- captured response metadata
-
-