Uses of Class
com.bandwidth.exceptions.ApiException
-
Uses of ApiException in com.bandwidth
Methods in com.bandwidth with parameters of type ApiException Modifier and Type Method Description static void
ApiHelper. populate(java.lang.String json, ApiException obj)
Populates an object of an ApiException subclass with the required properties.Methods in com.bandwidth that throw ApiException Modifier and Type Method Description HttpRequest
AuthManager. apply(HttpRequest httpRequest)
Adds authentication to the given HttpRequest -
Uses of ApiException in com.bandwidth.controllers
Methods in com.bandwidth.controllers that throw ApiException Modifier and Type Method Description ApiResponse<T>
BaseController.ResponseHandler. handle(HttpContext context)
Handles the response for an endpointHttpRequest
BaseController.RequestSupplier. supply()
Supplies the HttpRequest objectprotected void
BaseController. validateResponse(HttpResponse response, HttpContext context)
Validates the response against HTTP errors defined at the API level -
Uses of ApiException in com.bandwidth.messaging.controllers
Methods in com.bandwidth.messaging.controllers that throw ApiException Modifier and Type Method Description ApiResponse<BandwidthMessage>
APIController. createMessage(java.lang.String userId, MessageRequest body)
createMessageApiResponse<java.lang.Void>
APIController. deleteMedia(java.lang.String userId, java.lang.String mediaId)
deleteMediaApiResponse<java.io.InputStream>
APIController. getMedia(java.lang.String userId, java.lang.String mediaId)
getMediaApiResponse<java.lang.Void>
APIController. getMessage()
getMessageApiResponse<java.util.List<Media>>
APIController. listMedia(java.lang.String userId, java.lang.String continuationToken)
listMediaApiResponse<java.lang.Void>
APIController. uploadMedia(java.lang.String userId, java.lang.String mediaId, long contentLength, java.lang.String body, java.lang.String contentType, java.lang.String cacheControl)
uploadMedia -
Uses of ApiException in com.bandwidth.messaging.exceptions
Subclasses of ApiException in com.bandwidth.messaging.exceptions Modifier and Type Class Description class
GenericClientException
class
PathClientException
-
Uses of ApiException in com.bandwidth.voice.controllers
Methods in com.bandwidth.voice.controllers that throw ApiException Modifier and Type Method Description ApiResponse<ApiCallResponse>
APIController. createCall(java.lang.String accountId, ApiCreateCallRequest body)
Creates a call requestApiResponse<java.lang.Void>
APIController. deleteRecording(java.lang.String accountId, java.lang.String callId, java.lang.String recordingId)
Deletes the specified recordingApiResponse<RecordingMetadataResponse>
APIController. getMetadataForRecording(java.lang.String accountId, java.lang.String callId, java.lang.String recordingId)
Returns metadata for the specified recordingApiResponse<java.util.List<RecordingMetadataResponse>>
APIController. getQueryMetadataForAccount(java.lang.String accountId)
Returns a (potentially empty; capped at 1000) list of metadata for the recordings associated with the specified accountApiResponse<java.util.List<RecordingMetadataResponse>>
APIController. getQueryMetadataForAccountAndCall(java.lang.String accountId, java.lang.String callId)
Returns a (potentially empty) list of metadata for the recordings that took place during the specified callApiResponse<java.io.InputStream>
APIController. getStreamRecordingMedia(java.lang.String accountId, java.lang.String callId, java.lang.String recordingId)
Downloads the specified recordingApiResponse<java.lang.Void>
APIController. modifyCall(java.lang.String accountId, java.lang.String callId, ApiModifyCallRequest body)
Interrupts and replaces an active call's BXML documentApiResponse<java.lang.Void>
APIController. modifyCallRecordingState(java.lang.String accountId, java.lang.String callId, ModifyCallRecordingState body)
Pauses or resumes a recording -
Uses of ApiException in com.bandwidth.voice.exceptions
Subclasses of ApiException in com.bandwidth.voice.exceptions Modifier and Type Class Description class
ErrorResponseException