Type | Name and description |
---|---|
java.lang.String |
authScheme Requests will be enhanced with values to pass against selected authentication scheme challenge |
java.lang.String |
basicCredentialPassword Basic HTTP authorization password part of the credential |
java.lang.String |
basicCredentialUsername Basic HTTP authorization username part of the credential |
java.lang.String |
bearerPrefix Prefix for the token header |
java.lang.String |
bearerToken Token to use for authentication |
java.lang.String |
endpoint Endpoint to send the requests |
java.lang.String |
httpProxyUrl URL of the proxy server |
java.lang.String |
oauthAuthToken Preauthorized OAuth token |
java.lang.String |
oauthCallbackPath Path to redirect user for authentication (not used) |
java.lang.String |
oauthConsumerKey Identifier of the OAuth consumer |
java.lang.String |
oauthConsumerSecret Consumer secret (not used) |
java.util.Map<java.lang.String, java.lang.String> |
oauthParameters Values for the OAuth configuration (third-party specifics of the OAuth implementation) |
java.lang.String |
oauthSecretKey Secret used for the signature. e.g. |
java.lang.String |
pluginId Will be used for the User-Agent header |
java.lang.String |
proxyCredentialPassword Basic HTTP authorization password part of the credential |
java.lang.String |
proxyCredentialUsername Basic HTTP authorization username part of the credential |
groovyx.net.http.ContentType |
responseContentType Will be used to encode the response. |
java.lang.Object |
supportedAuthSchemes Contains supported authorization schemes |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
acquireCredentialForScheme(java.lang.String authScheme, Credential credential) |
|
void |
setProxyParameters(java.util.Map<java.lang.String, java.lang.String> proxyParams) Convenience method to set all proxy parameters with a map |
|
void |
setResponseContentType(java.lang.String contentType) Convenience method. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Requests will be enhanced with values to pass against selected authentication scheme challenge
Basic HTTP authorization password part of the credential
Basic HTTP authorization username part of the credential
Prefix for the token header
Token to use for authentication
Endpoint to send the requests
URL of the proxy server
Preauthorized OAuth token
Path to redirect user for authentication (not used)
Identifier of the OAuth consumer
Consumer secret (not used)
Values for the OAuth configuration (third-party specifics of the OAuth implementation)
Secret used for the signature. e.g. RSA private key for RSA-SHA1
Will be used for the User-Agent header
Basic HTTP authorization password part of the credential
Basic HTTP authorization username part of the credential
Will be used to encode the response. Set to TEXT if you want to omit the encode. Possible values: ANY, TEXT, JSON, XML, HTML, URLENC, BINARY
Contains supported authorization schemes
Convenience method to set all proxy parameters with a map
proxyParams
- map with following keys: 'url', 'username', 'password'Convenience method. Allows to set the content type using String instead of groovyx.net.http.ContentType
contentType
- encode response as given content type. Possible values: ANY, TEXT, JSON, XML, HTML, URLENC, BINARY