Interface OAuth1Builder.FilterFeatureBuilder
- All Known Implementing Classes:
OAuth1BuilderImpl.FilterBuilderImpl
- Enclosing interface:
OAuth1Builder
public static interface OAuth1Builder.FilterFeatureBuilder
Builder of the
Feature
.-
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(AccessToken accessToken) Set the Access Token that will be used for signing the requests.javax.ws.rs.core.Feature
build()
Build theoauth 1 filter feature
.
-
Method Details
-
accessToken
Set the Access Token that will be used for signing the requests. If this method is not called, no access token will be defined in the resulting filter and it will have to be supplied usingOAuth1ClientSupport.OAUTH_PROPERTY_ACCESS_TOKEN
request property for each request. The property could be also used to override settings defined by this method.- Parameters:
accessToken
- Access token.- Returns:
- this builder.
-
build
javax.ws.rs.core.Feature build()Build theoauth 1 filter feature
. The feature can be then registered into the client configuration.- Returns:
- Client OAuth 1 feature.
-