| Package | Description |
|---|---|
| javastrava.api.v3.rest | |
| javastrava.api.v3.service.exception |
| Modifier and Type | Method and Description |
|---|---|
StravaResponse |
API.deleteComment(Integer activityId,
Integer commentId) |
StravaResponse |
ActivityAPI.deleteComment(Integer activityId,
Integer commentId) |
StravaResponse |
WebhookAPI.deleteSubscription(Integer subscriptionId,
Integer clientId,
String clientSecret)
This request is used to unsubscribe from events.
|
StravaResponse |
API.deleteSubscription(Integer subscriptionId,
Integer clientId,
String clientSecret) |
StravaResponse |
API.giveKudos(Integer activityId) |
StravaResponse |
ActivityAPI.giveKudos(Integer activityId) |
| Modifier and Type | Method and Description |
|---|---|
StravaAPIFuture<StravaResponse> |
API.deleteCommentAsync(Integer activityId,
Integer commentId) |
StravaAPIFuture<StravaResponse> |
API.deleteSubscriptionAsync(Integer subscriptionId,
Integer clientId,
String clientSecret) |
StravaAPIFuture<StravaResponse> |
API.giveKudosAsync(Integer activityId) |
| Modifier and Type | Method and Description |
|---|---|
void |
ActivityAPI.deleteComment(Integer activityId,
Integer commentId,
StravaAPICallback<StravaResponse> callback) |
void |
WebhookAPI.deleteSubscription(Integer subscriptionId,
Integer clientId,
String clientSecret,
StravaAPICallback<StravaResponse> callback)
This request is used to unsubscribe from events.
|
void |
ActivityAPI.giveKudos(Integer activityId,
StravaAPICallback<StravaResponse> callback) |
| Modifier and Type | Method and Description |
|---|---|
StravaResponse |
UnauthorizedException.getResponse() |
StravaResponse |
StravaUnknownAPIException.getResponse() |
StravaResponse |
StravaServiceUnavailableException.getResponse() |
StravaResponse |
StravaInternalServerErrorException.getResponse() |
StravaResponse |
StravaAPIRateLimitException.getResponse() |
StravaResponse |
StravaAPINetworkException.getResponse() |
StravaResponse |
StravaAPIException.getResponse()
Return the error message emitted by the Strava API
|
StravaResponse |
NotFoundException.getResponse() |
StravaResponse |
InvalidTokenException.getResponse() |
StravaResponse |
BadRequestException.getResponse() |
| Modifier and Type | Method and Description |
|---|---|
void |
UnauthorizedException.setResponse(StravaResponse response) |
void |
StravaUnknownAPIException.setResponse(StravaResponse response) |
void |
StravaServiceUnavailableException.setResponse(StravaResponse response) |
void |
StravaInternalServerErrorException.setResponse(StravaResponse response) |
void |
StravaAPIRateLimitException.setResponse(StravaResponse response) |
void |
StravaAPINetworkException.setResponse(StravaResponse response) |
void |
StravaAPIException.setResponse(StravaResponse response) |
void |
NotFoundException.setResponse(StravaResponse response) |
void |
InvalidTokenException.setResponse(StravaResponse response) |
void |
BadRequestException.setResponse(StravaResponse response) |
| Constructor and Description |
|---|
BadRequestException(String status,
StravaResponse response,
Throwable cause) |
InvalidTokenException(String status,
StravaResponse response,
Throwable cause) |
NotFoundException(StravaResponse response,
Throwable cause) |
StravaAPINetworkException(String status,
StravaResponse response,
Throwable cause) |
StravaAPIRateLimitException(String status,
StravaResponse response,
Throwable cause) |
StravaInternalServerErrorException(String status,
StravaResponse response,
Throwable cause) |
StravaServiceUnavailableException(String status,
StravaResponse response,
Throwable cause) |
StravaUnknownAPIException(String status,
StravaResponse response,
Throwable cause) |
UnauthorizedException(String status,
StravaResponse response,
Throwable cause) |
Copyright © 2016 Dan Shannon. All rights reserved.