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 endpoint.HttpRequest
BaseController.RequestSupplier. supply()
Supplies the HttpRequest object.protected 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)
createMessage.ApiResponse<java.lang.Void>
APIController. deleteMedia(java.lang.String userId, java.lang.String mediaId)
deleteMedia.ApiResponse<java.io.InputStream>
APIController. getMedia(java.lang.String userId, java.lang.String mediaId)
getMedia.ApiResponse<BandwidthMessagesList>
APIController. getMessages(java.lang.String userId, java.lang.String messageId, java.lang.String sourceTn, java.lang.String destinationTn, java.lang.String messageStatus, java.lang.Integer errorCode, java.lang.String fromDateTime, java.lang.String toDateTime, java.lang.String pageToken, java.lang.Integer limit)
getMessages.ApiResponse<java.util.List<Media>>
APIController. listMedia(java.lang.String userId, java.lang.String continuationToken)
listMedia.ApiResponse<java.lang.Void>
APIController. uploadMedia(java.lang.String userId, java.lang.String mediaId, long contentLength, FileWrapper 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
MessagingException
This is a model class for MessagingException type. -
Uses of ApiException in com.bandwidth.twofactorauth.controllers
Methods in com.bandwidth.twofactorauth.controllers that throw ApiException Modifier and Type Method Description ApiResponse<TwoFactorMessagingResponse>
MFAController. createMessagingTwoFactor(java.lang.String accountId, TwoFactorCodeRequestSchema body)
Allows a user to send a MFA code through a text message (SMS).ApiResponse<TwoFactorVerifyCodeResponse>
MFAController. createVerifyTwoFactor(java.lang.String accountId, TwoFactorVerifyRequestSchema body)
Allows a user to verify an MFA code.ApiResponse<TwoFactorVoiceResponse>
MFAController. createVoiceTwoFactor(java.lang.String accountId, TwoFactorCodeRequestSchema body)
Allows a user to send a MFA code through a phone call. -
Uses of ApiException in com.bandwidth.twofactorauth.exceptions
Subclasses of ApiException in com.bandwidth.twofactorauth.exceptions Modifier and Type Class Description class
ErrorWithRequestException
This is a model class for ErrorWithRequestException type.class
ForbiddenRequestException
This is a model class for ForbiddenRequestException type.class
UnauthorizedRequestException
This is a model class for UnauthorizedRequestException type. -
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 an outbound call.ApiResponse<java.lang.Void>
APIController. createTranscribeRecording(java.lang.String accountId, java.lang.String callId, java.lang.String recordingId, ApiTranscribeRecordingRequest body)
Requests that the specified recording be transcribed.ApiResponse<java.lang.Void>
APIController. deleteRecording(java.lang.String accountId, java.lang.String callId, java.lang.String recordingId)
Deletes the specified recording.ApiResponse<java.lang.Void>
APIController. deleteRecordingMedia(java.lang.String accountId, java.lang.String callId, java.lang.String recordingId)
Deletes the specified recording's media.ApiResponse<java.lang.Void>
APIController. deleteRecordingTranscription(java.lang.String accountId, java.lang.String callId, java.lang.String recordingId)
Deletes the specified recording's transcription.ApiResponse<ApiCallStateResponse>
APIController. getCallState(java.lang.String accountId, java.lang.String callId)
Returns near-realtime metadata about the specified call.ApiResponse<ConferenceDetail>
APIController. getConferenceById(java.lang.String accountId, java.lang.String conferenceId)
Returns information about the specified conference.ApiResponse<ConferenceMemberDetail>
APIController. getConferenceMember(java.lang.String accountId, java.lang.String conferenceId, java.lang.String memberId)
Returns information about the specified conference member.ApiResponse<java.util.List<ConferenceDetail>>
APIController. getConferencesByAccount(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String pageToken, java.lang.String name, java.lang.String minCreatedTime, java.lang.String maxCreatedTime)
Returns information about the conferences in the account.ApiResponse<RecordingMetadataResponse>
APIController. getMetadataForConferenceRecording(java.lang.String accountId, java.lang.String conferenceId, java.lang.String recordingId)
Returns metadata for the specified recording.ApiResponse<RecordingMetadataResponse>
APIController. getMetadataForRecording(java.lang.String accountId, java.lang.String callId, java.lang.String recordingId)
Returns metadata for the specified recording.ApiResponse<java.util.List<RecordingMetadataResponse>>
APIController. getQueryMetadataForAccount(java.lang.String accountId, java.lang.String from, java.lang.String to, java.lang.String minStartTime, java.lang.String maxStartTime)
Returns a list of metadata for the recordings associated with the specified account.ApiResponse<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 call.ApiResponse<java.util.List<ConferenceRecordingMetadataResponse>>
APIController. getQueryMetadataForAccountAndConference(java.lang.String accountId, java.lang.String conferenceId)
Returns a (potentially empty) list of metadata for the recordings that took place during the specified conference.ApiResponse<TranscriptionResponse>
APIController. getRecordingTranscription(java.lang.String accountId, java.lang.String callId, java.lang.String recordingId)
Downloads the specified transcription.ApiResponse<java.io.InputStream>
APIController. getStreamConferenceRecordingMedia(java.lang.String accountId, java.lang.String conferenceId, java.lang.String recordingId)
Downloads the specified recording.ApiResponse<java.io.InputStream>
APIController. getStreamRecordingMedia(java.lang.String accountId, java.lang.String callId, java.lang.String recordingId)
Downloads the specified recording.ApiResponse<java.lang.Void>
APIController. modifyCall(java.lang.String accountId, java.lang.String callId, ApiModifyCallRequest body)
Interrupts and replaces an active call's BXML document.ApiResponse<java.lang.Void>
APIController. modifyCallRecordingState(java.lang.String accountId, java.lang.String callId, ModifyCallRecordingState body)
Pauses or resumes a recording.ApiResponse<java.lang.Void>
APIController. modifyConference(java.lang.String accountId, java.lang.String conferenceId, ApiModifyConferenceRequest body)
Modify the conference state.ApiResponse<java.lang.Void>
APIController. modifyConferenceMember(java.lang.String accountId, java.lang.String conferenceId, java.lang.String callId, ConferenceMemberDetail body)
Updates settings for a particular conference member. -
Uses of ApiException in com.bandwidth.voice.exceptions
Subclasses of ApiException in com.bandwidth.voice.exceptions Modifier and Type Class Description class
ApiErrorResponseException
This is a model class for ApiErrorResponseException type. -
Uses of ApiException in com.bandwidth.webrtc.controllers
Methods in com.bandwidth.webrtc.controllers that throw ApiException Modifier and Type Method Description ApiResponse<java.lang.Void>
APIController. addParticipantToSession(java.lang.String accountId, java.lang.String sessionId, java.lang.String participantId, Subscriptions body)
Add a participant to a session Subscriptions can optionally be provided as part of this call.ApiResponse<AccountsParticipantsResponse>
APIController. createParticipant(java.lang.String accountId, Participant body)
Create a new participant under this account Participants are idempotent, so relevant parameters must be set in this function if desired.ApiResponse<Session>
APIController. createSession(java.lang.String accountId, Session body)
Create a new session Sessions are idempotent, so relevant parameters must be set in this function if desired.ApiResponse<java.lang.Void>
APIController. deleteParticipant(java.lang.String accountId, java.lang.String participantId)
Delete participant by ID.ApiResponse<java.lang.Void>
APIController. deleteSession(java.lang.String accountId, java.lang.String sessionId)
Delete session by ID.ApiResponse<Participant>
APIController. getParticipant(java.lang.String accountId, java.lang.String participantId)
Get participant by ID.ApiResponse<Subscriptions>
APIController. getParticipantSubscriptions(java.lang.String accountId, java.lang.String participantId, java.lang.String sessionId)
Get a participant's subscriptions.ApiResponse<Session>
APIController. getSession(java.lang.String accountId, java.lang.String sessionId)
Get session by ID.ApiResponse<java.util.List<Participant>>
APIController. listSessionParticipants(java.lang.String accountId, java.lang.String sessionId)
List participants in a session.ApiResponse<java.lang.Void>
APIController. removeParticipantFromSession(java.lang.String accountId, java.lang.String participantId, java.lang.String sessionId)
Remove a participant from a session This will automatically remove any subscriptions the participant has associated with this session.ApiResponse<java.lang.Void>
APIController. updateParticipantSubscriptions(java.lang.String accountId, java.lang.String participantId, java.lang.String sessionId, Subscriptions body)
Update a participant's subscriptions This is a full update that will replace the participant's subscriptions. -
Uses of ApiException in com.bandwidth.webrtc.exceptions
Subclasses of ApiException in com.bandwidth.webrtc.exceptions Modifier and Type Class Description class
ErrorException
This is a model class for ErrorException type.