|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceClient
com.amazonaws.services.cloudfront.AmazonCloudFrontClient
com.amazonaws.services.cloudfront.AmazonCloudFrontAsyncClient
public class AmazonCloudFrontAsyncClient
Client for accessing AmazonCloudFront. All calls made using this client are non-blocking and will immediately return a Java Future. Callers must use the Future object to determine when the service call has actually completed.
Constructor Summary | |
---|---|
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials. |
|
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials, executor service, and client configuration options. |
|
AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials and executor service. |
|
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider. |
|
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider, executor service, and client configuration options. |
|
AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonCloudFront using the specified AWS account credentials provider and executor service. |
Method Summary | |
---|---|
java.util.concurrent.Future<CreateCloudFrontOriginAccessIdentityResult> |
createCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest)
Create a new origin access identity. |
java.util.concurrent.Future<CreateDistributionResult> |
createDistributionAsync(CreateDistributionRequest createDistributionRequest)
Create a new distribution. |
java.util.concurrent.Future<CreateInvalidationResult> |
createInvalidationAsync(CreateInvalidationRequest createInvalidationRequest)
Create a new invalidation. |
java.util.concurrent.Future<CreateStreamingDistributionResult> |
createStreamingDistributionAsync(CreateStreamingDistributionRequest createStreamingDistributionRequest)
Create a new streaming distribution. |
java.util.concurrent.Future<java.lang.Void> |
deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest)
Delete an origin access identity. |
java.util.concurrent.Future<java.lang.Void> |
deleteDistributionAsync(DeleteDistributionRequest deleteDistributionRequest)
Delete a distribution. |
java.util.concurrent.Future<java.lang.Void> |
deleteStreamingDistributionAsync(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest)
Delete a streaming distribution. |
java.util.concurrent.Future<GetCloudFrontOriginAccessIdentityResult> |
getCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest)
Get the information about an origin access identity. |
java.util.concurrent.Future<GetCloudFrontOriginAccessIdentityConfigResult> |
getCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest)
Get the configuration information about an origin access identity. |
java.util.concurrent.Future<GetDistributionResult> |
getDistributionAsync(GetDistributionRequest getDistributionRequest)
Get the information about a distribution. |
java.util.concurrent.Future<GetDistributionConfigResult> |
getDistributionConfigAsync(GetDistributionConfigRequest getDistributionConfigRequest)
Get the configuration information about a distribution. |
java.util.concurrent.ExecutorService |
getExecutorService()
Returns the executor service used by this async client to execute requests. |
java.util.concurrent.Future<GetInvalidationResult> |
getInvalidationAsync(GetInvalidationRequest getInvalidationRequest)
Get the information about an invalidation. |
java.util.concurrent.Future<GetStreamingDistributionResult> |
getStreamingDistributionAsync(GetStreamingDistributionRequest getStreamingDistributionRequest)
Get the information about a streaming distribution. |
java.util.concurrent.Future<GetStreamingDistributionConfigResult> |
getStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest)
Get the configuration information about a streaming distribution. |
java.util.concurrent.Future<ListCloudFrontOriginAccessIdentitiesResult> |
listCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest)
List origin access identities. |
java.util.concurrent.Future<ListDistributionsResult> |
listDistributionsAsync(ListDistributionsRequest listDistributionsRequest)
List distributions. |
java.util.concurrent.Future<ListInvalidationsResult> |
listInvalidationsAsync(ListInvalidationsRequest listInvalidationsRequest)
List invalidation batches. |
java.util.concurrent.Future<ListStreamingDistributionsResult> |
listStreamingDistributionsAsync(ListStreamingDistributionsRequest listStreamingDistributionsRequest)
List streaming distributions. |
void |
shutdown()
Shuts down the client, releasing all managed resources. |
java.util.concurrent.Future<UpdateCloudFrontOriginAccessIdentityResult> |
updateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest)
Update an origin access identity. |
java.util.concurrent.Future<UpdateDistributionResult> |
updateDistributionAsync(UpdateDistributionRequest updateDistributionRequest)
Update a distribution. |
java.util.concurrent.Future<UpdateStreamingDistributionResult> |
updateStreamingDistributionAsync(UpdateStreamingDistributionRequest updateStreamingDistributionRequest)
Update a streaming distribution. |
Methods inherited from class com.amazonaws.AmazonWebServiceClient |
---|
addRequestHandler, removeRequestHandler, setConfiguration, setEndpoint |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials, java.util.concurrent.ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonCloudFrontAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider, java.util.concurrent.ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonCloudFrontAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).executorService
- The executor service by which all asynchronous requests will
be executed.Method Detail |
---|
public java.util.concurrent.ExecutorService getExecutorService()
public void shutdown()
shutdown
in interface AmazonCloudFront
shutdown
in class AmazonWebServiceClient
public java.util.concurrent.Future<GetStreamingDistributionResult> getStreamingDistributionAsync(GetStreamingDistributionRequest getStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Get the information about a streaming distribution.
getStreamingDistributionAsync
in interface AmazonCloudFrontAsync
getStreamingDistributionRequest
- Container for the necessary
parameters to execute the GetStreamingDistribution operation on
AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<ListCloudFrontOriginAccessIdentitiesResult> listCloudFrontOriginAccessIdentitiesAsync(ListCloudFrontOriginAccessIdentitiesRequest listCloudFrontOriginAccessIdentitiesRequest) throws AmazonServiceException, AmazonClientException
List origin access identities.
listCloudFrontOriginAccessIdentitiesAsync
in interface AmazonCloudFrontAsync
listCloudFrontOriginAccessIdentitiesRequest
- Container for the
necessary parameters to execute the
ListCloudFrontOriginAccessIdentities operation on AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<CreateDistributionResult> createDistributionAsync(CreateDistributionRequest createDistributionRequest) throws AmazonServiceException, AmazonClientException
Create a new distribution.
createDistributionAsync
in interface AmazonCloudFrontAsync
createDistributionRequest
- Container for the necessary
parameters to execute the CreateDistribution operation on
AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<CreateCloudFrontOriginAccessIdentityResult> createCloudFrontOriginAccessIdentityAsync(CreateCloudFrontOriginAccessIdentityRequest createCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Create a new origin access identity.
createCloudFrontOriginAccessIdentityAsync
in interface AmazonCloudFrontAsync
createCloudFrontOriginAccessIdentityRequest
- Container for the
necessary parameters to execute the
CreateCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<ListInvalidationsResult> listInvalidationsAsync(ListInvalidationsRequest listInvalidationsRequest) throws AmazonServiceException, AmazonClientException
List invalidation batches.
listInvalidationsAsync
in interface AmazonCloudFrontAsync
listInvalidationsRequest
- Container for the necessary parameters
to execute the ListInvalidations operation on AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<GetDistributionResult> getDistributionAsync(GetDistributionRequest getDistributionRequest) throws AmazonServiceException, AmazonClientException
Get the information about a distribution.
getDistributionAsync
in interface AmazonCloudFrontAsync
getDistributionRequest
- Container for the necessary parameters
to execute the GetDistribution operation on AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<ListDistributionsResult> listDistributionsAsync(ListDistributionsRequest listDistributionsRequest) throws AmazonServiceException, AmazonClientException
List distributions.
listDistributionsAsync
in interface AmazonCloudFrontAsync
listDistributionsRequest
- Container for the necessary parameters
to execute the ListDistributions operation on AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<CreateStreamingDistributionResult> createStreamingDistributionAsync(CreateStreamingDistributionRequest createStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Create a new streaming distribution.
createStreamingDistributionAsync
in interface AmazonCloudFrontAsync
createStreamingDistributionRequest
- Container for the necessary
parameters to execute the CreateStreamingDistribution operation on
AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<java.lang.Void> deleteStreamingDistributionAsync(DeleteStreamingDistributionRequest deleteStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Delete a streaming distribution.
deleteStreamingDistributionAsync
in interface AmazonCloudFrontAsync
deleteStreamingDistributionRequest
- Container for the necessary
parameters to execute the DeleteStreamingDistribution operation on
AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<java.lang.Void> deleteCloudFrontOriginAccessIdentityAsync(DeleteCloudFrontOriginAccessIdentityRequest deleteCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Delete an origin access identity.
deleteCloudFrontOriginAccessIdentityAsync
in interface AmazonCloudFrontAsync
deleteCloudFrontOriginAccessIdentityRequest
- Container for the
necessary parameters to execute the
DeleteCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<GetInvalidationResult> getInvalidationAsync(GetInvalidationRequest getInvalidationRequest) throws AmazonServiceException, AmazonClientException
Get the information about an invalidation.
getInvalidationAsync
in interface AmazonCloudFrontAsync
getInvalidationRequest
- Container for the necessary parameters
to execute the GetInvalidation operation on AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<java.lang.Void> deleteDistributionAsync(DeleteDistributionRequest deleteDistributionRequest) throws AmazonServiceException, AmazonClientException
Delete a distribution.
deleteDistributionAsync
in interface AmazonCloudFrontAsync
deleteDistributionRequest
- Container for the necessary
parameters to execute the DeleteDistribution operation on
AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<UpdateDistributionResult> updateDistributionAsync(UpdateDistributionRequest updateDistributionRequest) throws AmazonServiceException, AmazonClientException
Update a distribution.
updateDistributionAsync
in interface AmazonCloudFrontAsync
updateDistributionRequest
- Container for the necessary
parameters to execute the UpdateDistribution operation on
AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<GetDistributionConfigResult> getDistributionConfigAsync(GetDistributionConfigRequest getDistributionConfigRequest) throws AmazonServiceException, AmazonClientException
Get the configuration information about a distribution.
getDistributionConfigAsync
in interface AmazonCloudFrontAsync
getDistributionConfigRequest
- Container for the necessary
parameters to execute the GetDistributionConfig operation on
AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<UpdateCloudFrontOriginAccessIdentityResult> updateCloudFrontOriginAccessIdentityAsync(UpdateCloudFrontOriginAccessIdentityRequest updateCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Update an origin access identity.
updateCloudFrontOriginAccessIdentityAsync
in interface AmazonCloudFrontAsync
updateCloudFrontOriginAccessIdentityRequest
- Container for the
necessary parameters to execute the
UpdateCloudFrontOriginAccessIdentity operation on AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<GetCloudFrontOriginAccessIdentityResult> getCloudFrontOriginAccessIdentityAsync(GetCloudFrontOriginAccessIdentityRequest getCloudFrontOriginAccessIdentityRequest) throws AmazonServiceException, AmazonClientException
Get the information about an origin access identity.
getCloudFrontOriginAccessIdentityAsync
in interface AmazonCloudFrontAsync
getCloudFrontOriginAccessIdentityRequest
- Container for the
necessary parameters to execute the GetCloudFrontOriginAccessIdentity
operation on AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<CreateInvalidationResult> createInvalidationAsync(CreateInvalidationRequest createInvalidationRequest) throws AmazonServiceException, AmazonClientException
Create a new invalidation.
createInvalidationAsync
in interface AmazonCloudFrontAsync
createInvalidationRequest
- Container for the necessary
parameters to execute the CreateInvalidation operation on
AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<GetStreamingDistributionConfigResult> getStreamingDistributionConfigAsync(GetStreamingDistributionConfigRequest getStreamingDistributionConfigRequest) throws AmazonServiceException, AmazonClientException
Get the configuration information about a streaming distribution.
getStreamingDistributionConfigAsync
in interface AmazonCloudFrontAsync
getStreamingDistributionConfigRequest
- Container for the
necessary parameters to execute the GetStreamingDistributionConfig
operation on AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<UpdateStreamingDistributionResult> updateStreamingDistributionAsync(UpdateStreamingDistributionRequest updateStreamingDistributionRequest) throws AmazonServiceException, AmazonClientException
Update a streaming distribution.
updateStreamingDistributionAsync
in interface AmazonCloudFrontAsync
updateStreamingDistributionRequest
- Container for the necessary
parameters to execute the UpdateStreamingDistribution operation on
AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<ListStreamingDistributionsResult> listStreamingDistributionsAsync(ListStreamingDistributionsRequest listStreamingDistributionsRequest) throws AmazonServiceException, AmazonClientException
List streaming distributions.
listStreamingDistributionsAsync
in interface AmazonCloudFrontAsync
listStreamingDistributionsRequest
- Container for the necessary
parameters to execute the ListStreamingDistributions operation on
AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.public java.util.concurrent.Future<GetCloudFrontOriginAccessIdentityConfigResult> getCloudFrontOriginAccessIdentityConfigAsync(GetCloudFrontOriginAccessIdentityConfigRequest getCloudFrontOriginAccessIdentityConfigRequest) throws AmazonServiceException, AmazonClientException
Get the configuration information about an origin access identity.
getCloudFrontOriginAccessIdentityConfigAsync
in interface AmazonCloudFrontAsync
getCloudFrontOriginAccessIdentityConfigRequest
- Container for
the necessary parameters to execute the
GetCloudFrontOriginAccessIdentityConfig operation on AmazonCloudFront.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonCloudFront indicating
either a problem with the data in the request, or a server side issue.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |