| Type | Name and description |
|---|---|
java.lang.String |
authSchemeRequests will be enhanced with values to pass against selected authentication scheme challenge |
java.lang.String |
basicCredentialPasswordBasic HTTP authorization password part of the credential |
java.lang.String |
basicCredentialUsernameBasic HTTP authorization username part of the credential |
java.lang.String |
bearerPrefixPrefix for the token header |
java.lang.String |
bearerTokenToken to use for authentication |
java.lang.String |
endpointEndpoint to send the requests |
java.lang.String |
httpProxyUrlURL of the proxy server |
java.lang.String |
oauthAuthTokenPreauthorized OAuth token |
java.lang.String |
oauthCallbackPathPath to redirect user for authentication (not used) |
java.lang.String |
oauthConsumerKeyIdentifier of the OAuth consumer |
java.lang.String |
oauthConsumerSecretConsumer secret (not used) |
java.util.Map<java.lang.String, java.lang.String> |
oauthParametersValues for the OAuth configuration (third-party specifics of the OAuth implementation) |
java.lang.String |
oauthSecretKeySecret used for the signature. e.g. |
java.lang.String |
pluginIdWill be used for the User-Agent header |
java.lang.String |
proxyCredentialPasswordBasic HTTP authorization password part of the credential |
java.lang.String |
proxyCredentialUsernameBasic HTTP authorization username part of the credential |
groovyx.net.http.ContentType |
responseContentTypeWill be used to encode the response. |
java.lang.Object |
supportedAuthSchemesContains 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