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(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(String accountId, MessageRequest body)
createMessage.ApiResponse<Void>
APIController. deleteMedia(String accountId, String mediaId)
deleteMedia.ApiResponse<InputStream>
APIController. getMedia(String accountId, String mediaId)
getMedia.ApiResponse<BandwidthMessagesList>
APIController. getMessages(String accountId, String messageId, String sourceTn, String destinationTn, String messageStatus, Integer errorCode, String fromDateTime, String toDateTime, String pageToken, Integer limit)
getMessages.ApiResponse<List<Media>>
APIController. listMedia(String accountId, String continuationToken)
listMedia.ApiResponse<Void>
APIController. uploadMedia(String accountId, String mediaId, FileWrapper body, String contentType, 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.multifactorauth.controllers
Methods in com.bandwidth.multifactorauth.controllers that throw ApiException Modifier and Type Method Description ApiResponse<TwoFactorMessagingResponse>
MFAController. createMessagingTwoFactor(String accountId, TwoFactorCodeRequestSchema body)
Allows a user to send a MFA code through a text message (SMS).ApiResponse<TwoFactorVerifyCodeResponse>
MFAController. createVerifyTwoFactor(String accountId, TwoFactorVerifyRequestSchema body)
Allows a user to verify an MFA code.ApiResponse<TwoFactorVoiceResponse>
MFAController. createVoiceTwoFactor(String accountId, TwoFactorCodeRequestSchema body)
Allows a user to send a MFA code through a phone call. -
Uses of ApiException in com.bandwidth.multifactorauth.exceptions
Subclasses of ApiException in com.bandwidth.multifactorauth.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.phonenumberlookup.controllers
Methods in com.bandwidth.phonenumberlookup.controllers that throw ApiException Modifier and Type Method Description ApiResponse<OrderResponse>
APIController. createLookupRequest(String accountId, OrderRequest body)
Create a TN Lookup Order.ApiResponse<OrderStatus>
APIController. getLookupRequestStatus(String accountId, String requestId)
Query an existing TN Lookup Order. -
Uses of ApiException in com.bandwidth.phonenumberlookup.exceptions
Subclasses of ApiException in com.bandwidth.phonenumberlookup.exceptions Modifier and Type Class Description class
AccountsTnlookup400ErrorException
This is a model class for AccountsTnlookup400ErrorException type. -
Uses of ApiException in com.bandwidth.voice.controllers
Methods in com.bandwidth.voice.controllers that throw ApiException Modifier and Type Method Description ApiResponse<CreateCallResponse>
APIController. createCall(String accountId, CreateCallRequest body)
Creates an outbound call.ApiResponse<Void>
APIController. createTranscribeCallRecording(String accountId, String callId, String recordingId, TranscribeRecordingRequest body)
Requests that the specified recording be transcribed.ApiResponse<Void>
APIController. deleteCallTranscription(String accountId, String callId, String recordingId)
Deletes the specified recording's transcription.ApiResponse<Void>
APIController. deleteRecording(String accountId, String callId, String recordingId)
Deletes the specified recording.ApiResponse<Void>
APIController. deleteRecordingMedia(String accountId, String callId, String recordingId)
Deletes the specified recording's media.ApiResponse<CallState>
APIController. getCall(String accountId, String callId)
Returns near-realtime metadata about the specified call.ApiResponse<CallRecordingMetadata>
APIController. getCallRecording(String accountId, String callId, String recordingId)
Returns metadata for the specified recording.ApiResponse<List<CallRecordingMetadata>>
APIController. getCallRecordings(String accountId, String callId)
Returns a (potentially empty) list of metadata for the recordings that took place during the specified call.ApiResponse<TranscriptionResponse>
APIController. getCallTranscription(String accountId, String callId, String recordingId)
Downloads the specified transcription.ApiResponse<ConferenceState>
APIController. getConference(String accountId, String conferenceId)
Returns information about the specified conference.ApiResponse<ConferenceMemberState>
APIController. getConferenceMember(String accountId, String conferenceId, String memberId)
Returns information about the specified conference member.ApiResponse<CallRecordingMetadata>
APIController. getConferenceRecording(String accountId, String conferenceId, String recordingId)
Returns metadata for the specified recording.ApiResponse<List<ConferenceRecordingMetadata>>
APIController. getConferenceRecordings(String accountId, String conferenceId)
Returns a (potentially empty) list of metadata for the recordings that took place during the specified conference.ApiResponse<List<ConferenceState>>
APIController. getConferences(String accountId, String name, String minCreatedTime, String maxCreatedTime, Integer pageSize, String pageToken)
Returns information about the conferences in the account.ApiResponse<DynamicResponse>
APIController. getDownloadCallRecording(String accountId, String callId, String recordingId)
Downloads the specified recording.ApiResponse<DynamicResponse>
APIController. getDownloadConferenceRecording(String accountId, String conferenceId, String recordingId)
Downloads the specified recording.ApiResponse<List<CallRecordingMetadata>>
APIController. getQueryCallRecordings(String accountId, String from, String to, String minStartTime, String maxStartTime)
Returns a list of metadata for the recordings associated with the specified account.ApiResponse<Void>
APIController. modifyCall(String accountId, String callId, ModifyCallRequest body)
Interrupts and replaces an active call's BXML document.ApiResponse<Void>
APIController. modifyCallRecordingState(String accountId, String callId, ModifyCallRecordingRequest body)
Pauses or resumes a recording.ApiResponse<Void>
APIController. modifyConference(String accountId, String conferenceId, ModifyConferenceRequest body)
Modify the conference state.ApiResponse<Void>
APIController. modifyConferenceMember(String accountId, String conferenceId, String callId, ConferenceMemberState 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
ApiErrorException
This is a model class for ApiErrorException type. -
Uses of ApiException in com.bandwidth.webrtc.controllers
Methods in com.bandwidth.webrtc.controllers that throw ApiException Modifier and Type Method Description ApiResponse<Void>
APIController. addParticipantToSession(String accountId, String sessionId, String participantId, Subscriptions body)
Add a participant to a session Subscriptions can optionally be provided as part of this call.ApiResponse<AccountsParticipantsResponse>
APIController. createParticipant(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(String accountId, Session body)
Create a new session Sessions are idempotent, so relevant parameters must be set in this function if desired.ApiResponse<Void>
APIController. deleteParticipant(String accountId, String participantId)
Delete participant by ID.ApiResponse<Void>
APIController. deleteSession(String accountId, String sessionId)
Delete session by ID.ApiResponse<Participant>
APIController. getParticipant(String accountId, String participantId)
Get participant by ID.ApiResponse<Subscriptions>
APIController. getParticipantSubscriptions(String accountId, String sessionId, String participantId)
Get a participant's subscriptions.ApiResponse<Session>
APIController. getSession(String accountId, String sessionId)
Get session by ID.ApiResponse<List<Participant>>
APIController. listSessionParticipants(String accountId, String sessionId)
List participants in a session.ApiResponse<Void>
APIController. removeParticipantFromSession(String accountId, String sessionId, String participantId)
Remove a participant from a session This will automatically remove any subscriptions the participant has associated with this session.ApiResponse<Void>
APIController. updateParticipantSubscriptions(String accountId, String sessionId, String participantId, 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.
-