Uses of Interface
com.atlassian.httpclient.api.Response
Packages that use Response
-
Uses of Response in com.atlassian.httpclient.api
Subinterfaces with type arguments of type Response in com.atlassian.httpclient.apiModifier and TypeInterfaceDescriptionstatic interfaceinterfaceA specific type of Promise for transforming a promise with a response into another object with functions for different HTTP codes and situationsMethods in com.atlassian.httpclient.api that return ResponseModifier and TypeMethodDescriptionResponseTooLargeException.getResponse()UnexpectedResponseException.getResponse()Returns the unexpected responseMethods in com.atlassian.httpclient.api that return types with arguments of type ResponseModifier and TypeMethodDescriptionDefaultResponseTransformation.getSuccessFunctions()ResponseTransformation.getSuccessFunctions()ResponsePromises.newUnexpectedResponseFunction()Method parameters in com.atlassian.httpclient.api with type arguments of type ResponseModifier and TypeMethodDescriptionResponseTransformation.Builder.badRequest(Function<Response, ? extends T> f) Register a function to transform 'bad request' (400) HTTP responses.ResponseTransformation.Builder.clientError(Function<Response, ? extends T> f) Register a function to transform 'client error' (4xx) HTTP responses.Register a function to transform 'conflict' (409) HTTP responses.Register a function to transform 'created' (201) HTTP responses.Register a function to transform all completed (1xx, 2xx, 3xx, 4xx, and 5xx) HTTP responses.Register a function to transform all error (4xx and 5xx) HTTP responses.Register a function to transform 'forbidden' (403) HTTP responses.ResponseTransformation.Builder.informational(Function<Response, ? extends T> f) Register a function to transform 'informational' (1xx) HTTP responses.ResponseTransformation.Builder.internalServerError(Function<Response, ? extends T> f) Register a function to transform 'internal server error' (500) HTTP responses.Register a function to transform 'no content' (204) HTTP responses.Register a function to transform 'not found' (404) HTTP responses.ResponseTransformation.Builder.notModified(Function<Response, ? extends T> f) Register a function to transform 'not modified' (304) HTTP responses.ResponseTransformation.Builder.notSuccessful(Function<Response, ? extends T> f) Register a function to transform all non-'successful' (1xx, 3xx, 4xx, 5xx) HTTP responses.Register a function to transform 'ok' (200) HTTP responses.Register a function to transform HTTP responses with a specific status code.ResponseTransformation.Builder.on(HttpStatus status, Function<Response, ? extends T> f) Register a function to transform HTTP responses with a specific status.Register a function to transform all other HTTP responses (i.e. those not explicitly registered for).ResponseTransformation.Builder.redirection(Function<Response, ? extends T> f) Register a function to transform 'redirection' (3xx) HTTP responses.Register a function to transform 'see other' (303) HTTP responses.ResponseTransformation.Builder.serverError(Function<Response, ? extends T> f) Register a function to transform 'server error' (5xx) HTTP responses.ResponseTransformation.Builder.serviceUnavailable(Function<Response, ? extends T> f) Register a function to transform 'service unavailable' (503) HTTP responses.ResponseTransformation.Builder.successful(Function<Response, ? extends T> f) Register a function to transform 'successful' (2xx) HTTP responses.static ResponsePromiseResponsePromises.toResponsePromise(io.atlassian.util.concurrent.Promise<Response> promise) ResponseTransformation.Builder.unauthorized(Function<Response, ? extends T> f) Register a function to transform 'unauthorized' (401) HTTP responses.Constructors in com.atlassian.httpclient.api with parameters of type ResponseModifierConstructorDescriptionResponseTooLargeException(Response response, String message) UnexpectedResponseException(Response response) Creates a new exception for the given response.