Package com.tnsai.annotations
Annotation Interface Header
Defines a custom HTTP header for WEB_SERVICE actions.
Used within
to specify additional headers.
invalid reference
Action#headers()
Usage Example
@ActionSpec(
type = ActionType.WEB_SERVICE,
endpoint = "https://api.example.com/data",
headers = {
@Header(key = "Accept", value = "application/json"),
@Header(key = "Content-Type", value = "application/json")
}
)
-
Required Element Summary
Required Elements