@Metadata(label="rest") public class RestSecurityApiKey extends RestSecurityDefinition
Constructor and Description |
---|
RestSecurityApiKey() |
RestSecurityApiKey(RestDefinition rest) |
Modifier and Type | Method and Description |
---|---|
RestSecuritiesDefinition |
end() |
Boolean |
getInHeader() |
Boolean |
getInQuery() |
String |
getName() |
void |
setInHeader(Boolean inHeader)
To use header as the location of the API key.
|
void |
setInQuery(Boolean inQuery)
To use query parameter as the location of the API key.
|
void |
setName(String name)
The name of the header or query parameter to be used.
|
RestSecurityApiKey |
withHeader(String name) |
RestSecurityApiKey |
withQuery(String name) |
endSecurityDefinition, getDescription, getKey, setDescription, setKey
public RestSecurityApiKey()
public RestSecurityApiKey(RestDefinition rest)
public Boolean getInHeader()
public void setInHeader(Boolean inHeader)
public Boolean getInQuery()
public void setInQuery(Boolean inQuery)
public RestSecurityApiKey withHeader(String name)
public RestSecurityApiKey withQuery(String name)
public RestSecuritiesDefinition end()
Apache Camel