Uses of Class
ch.examzone.sebbb.ApiException
Packages that use ApiException
-
Uses of ApiException in ch.examzone.sebbb
Methods in ch.examzone.sebbb with parameters of type ApiExceptionModifier and TypeMethodDescriptionvoidThis is called when the API call fails.Methods in ch.examzone.sebbb that throw ApiExceptionModifier and TypeMethodDescriptionokhttp3.CallApiClient.buildCall(String baseUrl, String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String[] authNames, ApiCallback callback) Build HTTP call with the given options.okhttp3.RequestApiClient.buildRequest(String baseUrl, String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String[] authNames, ApiCallback callback) Build an HTTP request with the given options.<T> TApiClient.deserialize(okhttp3.Response response, Type returnType) Deserialize response body to Java object, according to the return type and the Content-Type response header.ApiClient.downloadFileFromResponse(okhttp3.Response response) Download file from the given response.<T> ApiResponse<T> ApiClient.execute(okhttp3.Call call) <T> ApiResponse<T> Execute HTTP call and deserialize the HTTP response body into the given return type.<T> TApiClient.handleResponse(okhttp3.Response response, Type returnType) Handle the given response, return the deserialized object when the response is successful.okhttp3.RequestBodySerialize the given Java object into request body according to the object's class and the request Content-Type.voidApiClient.updateParamsForAuth(String[] authNames, List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) Update query and header parameters based on authentication settings. -
Uses of ApiException in ch.examzone.sebbb.api
Methods in ch.examzone.sebbb.api that throw ApiExceptionModifier and TypeMethodDescriptionExamsApi.createExam(Exam exam) Create an exam Returns the exam with its launch_url, the same sebbb:// link for all participants.okhttp3.CallExamsApi.createExamAsync(Exam exam, ApiCallback<Exam> _callback) Create an exam (asynchronously) Returns the exam with its launch_url, the same sebbb:// link for all participants.okhttp3.CallExamsApi.createExamCall(Exam exam, ApiCallback _callback) Build call for createExamExamsApi.createExamWithHttpInfo(Exam exam) Create an exam Returns the exam with its launch_url, the same sebbb:// link for all participants.End the exam Ends all sessions that are not ended yet and tells their apps to quit.okhttp3.CallExamsApi.endExamAsync(String id, ApiCallback<Exam> _callback) End the exam (asynchronously) Ends all sessions that are not ended yet and tells their apps to quit.okhttp3.CallExamsApi.endExamCall(String id, ApiCallback _callback) Build call for endExamExamsApi.endExamWithHttpInfo(String id) End the exam Ends all sessions that are not ended yet and tells their apps to quit.SessionsApi.endSession(String id) End a session from your side E.g.okhttp3.CallSessionsApi.endSessionAsync(String id, ApiCallback<Session> _callback) End a session from your side (asynchronously) E.g.okhttp3.CallSessionsApi.endSessionCall(String id, ApiCallback _callback) Build call for endSessionSessionsApi.endSessionWithHttpInfo(String id) End a session from your side E.g.Get an exam with its current settings and launch_urlokhttp3.CallExamsApi.getExamAsync(String id, ApiCallback<Exam> _callback) Get an exam with its current settings and launch_url (asynchronously)okhttp3.CallExamsApi.getExamCall(String id, ApiCallback _callback) Build call for getExamExamsApi.getExamWithHttpInfo(String id) Get an exam with its current settings and launch_urlVerificationApi.getJwks()Public keys to verify session tokens locally (ES256)okhttp3.CallVerificationApi.getJwksAsync(ApiCallback<Jwks> _callback) Public keys to verify session tokens locally (ES256) (asynchronously)okhttp3.CallVerificationApi.getJwksCall(ApiCallback _callback) Build call for getJwksVerificationApi.getJwksWithHttpInfo()Public keys to verify session tokens locally (ES256)SessionsApi.getSession(String id) Get a session: state, times, app version, integrity, countersokhttp3.CallSessionsApi.getSessionAsync(String id, ApiCallback<Session> _callback) Get a session: state, times, app version, integrity, counters (asynchronously)okhttp3.CallSessionsApi.getSessionCall(String id, ApiCallback _callback) Build call for getSessionSessionsApi.getSessionWithHttpInfo(String id) Get a session: state, times, app version, integrity, countersExamsApi.listExamSessions(String id) All sessions of the exam with state, participant reference and countersokhttp3.CallExamsApi.listExamSessionsAsync(String id, ApiCallback<SessionList> _callback) All sessions of the exam with state, participant reference and counters (asynchronously)okhttp3.CallExamsApi.listExamSessionsCall(String id, ApiCallback _callback) Build call for listExamSessionsExamsApi.listExamSessionsWithHttpInfo(String id) All sessions of the exam with state, participant reference and countersSessionsApi.listSessionEvents(String id, Integer limit, Integer after, String type, OffsetDateTime from, OffsetDateTime to) Event log of a session, oldest firstokhttp3.CallSessionsApi.listSessionEventsAsync(String id, Integer limit, Integer after, String type, OffsetDateTime from, OffsetDateTime to, ApiCallback<EventPage> _callback) Event log of a session, oldest first (asynchronously)okhttp3.CallSessionsApi.listSessionEventsCall(String id, Integer limit, Integer after, String type, OffsetDateTime from, OffsetDateTime to, ApiCallback _callback) Build call for listSessionEventsSessionsApi.listSessionEventsWithHttpInfo(String id, Integer limit, Integer after, String type, OffsetDateTime from, OffsetDateTime to) Event log of a session, oldest firstSessionsApi.listSessionScreenshots(String id, Integer limit, Integer after) Screenshots of a session with short-lived signed URLs, oldest firstokhttp3.CallSessionsApi.listSessionScreenshotsAsync(String id, Integer limit, Integer after, ApiCallback<ScreenshotPage> _callback) Screenshots of a session with short-lived signed URLs, oldest first (asynchronously)okhttp3.CallSessionsApi.listSessionScreenshotsCall(String id, Integer limit, Integer after, ApiCallback _callback) Build call for listSessionScreenshotsSessionsApi.listSessionScreenshotsWithHttpInfo(String id, Integer limit, Integer after) Screenshots of a session with short-lived signed URLs, oldest firstSessionsApi.setSessionParticipant(String id, Participant participant) Tag the session with your participant reference Optional.okhttp3.CallSessionsApi.setSessionParticipantAsync(String id, Participant participant, ApiCallback<Session> _callback) Tag the session with your participant reference (asynchronously) Optional.okhttp3.CallSessionsApi.setSessionParticipantCall(String id, Participant participant, ApiCallback _callback) Build call for setSessionParticipantSessionsApi.setSessionParticipantWithHttpInfo(String id, Participant participant) Tag the session with your participant reference Optional.Start the exam Connected apps open the start_url.okhttp3.CallExamsApi.startExamAsync(String id, ApiCallback<Exam> _callback) Start the exam (asynchronously) Connected apps open the start_url.okhttp3.CallExamsApi.startExamCall(String id, ApiCallback _callback) Build call for startExamExamsApi.startExamWithHttpInfo(String id) Start the exam Connected apps open the start_url.ExamsApi.updateExam(String id, Exam exam) Change any exam setting Connected apps receive the new settings (e.g.okhttp3.CallExamsApi.updateExamAsync(String id, Exam exam, ApiCallback<Exam> _callback) Change any exam setting (asynchronously) Connected apps receive the new settings (e.g.okhttp3.CallExamsApi.updateExamCall(String id, Exam exam, ApiCallback _callback) Build call for updateExamExamsApi.updateExamWithHttpInfo(String id, Exam exam) Change any exam setting Connected apps receive the new settings (e.g.VerificationApi.verifySessionToken(String xSebbbSession) Check a session token live Pass the X-Sebbb-Session header your exam page received from the app.okhttp3.CallVerificationApi.verifySessionTokenAsync(String xSebbbSession, ApiCallback<Verification> _callback) Check a session token live (asynchronously) Pass the X-Sebbb-Session header your exam page received from the app.okhttp3.CallVerificationApi.verifySessionTokenCall(String xSebbbSession, ApiCallback _callback) Build call for verifySessionTokenVerificationApi.verifySessionTokenWithHttpInfo(String xSebbbSession) Check a session token live Pass the X-Sebbb-Session header your exam page received from the app. -
Uses of ApiException in ch.examzone.sebbb.auth
Methods in ch.examzone.sebbb.auth that throw ApiExceptionModifier and TypeMethodDescriptionvoidApiKeyAuth.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) voidAuthentication.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) Apply authentication settings to header and query params.voidHttpBasicAuth.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri) voidHttpBearerAuth.applyToParams(List<Pair> queryParams, Map<String, String> headerParams, Map<String, String> cookieParams, String payload, String method, URI uri)