Package org.jclouds.rest.annotations
Annotation Interface Headers
Designates that a header will be added to the request. This header will contain the specified
value
, expanding any variables annotated with PathParam
.- See Also:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean[]
Indicates whether a header should be URL encoded.
-
Element Details
-
keys
String[] keys- See Also:
-
values
String[] valuescan be defined literally, or with enclosed variables (ex.{variable}
) The inputs to these variables are taken from method parameters annotated with@PathParam
.- See Also:
-
urlEncode
boolean[] urlEncodeIndicates whether a header should be URL encoded. Optional for backwards compatibility. The default behavior is that the header is not URL encoded.- Default:
{}
-