Uses of Interface
org.eclipse.sw360.http.Response
-
Packages that use Response Package Description org.eclipse.sw360.http org.eclipse.sw360.http.utils -
-
Uses of Response in org.eclipse.sw360.http
Methods in org.eclipse.sw360.http with parameters of type Response Modifier and Type Method Description TResponseProcessor. process(Response response)Processes the response of a request to produce a result. -
Uses of Response in org.eclipse.sw360.http.utils
Fields in org.eclipse.sw360.http.utils with type parameters of type Response Modifier and Type Field Description static Predicate<Response>HttpUtils. SUCCESS_STATUSA predicate that can be used by theHttpUtils.checkResponse(ResponseProcessor, Predicate)method to check whether a response was successful.Methods in org.eclipse.sw360.http.utils that return types with arguments of type Response Modifier and Type Method Description static Predicate<Response>HttpUtils. hasStatus(int status)Returns a predicate that checks a response for a specific status code.Methods in org.eclipse.sw360.http.utils with parameters of type Response Modifier and Type Method Description static FailedRequestExceptionHttpUtils. createExceptionForResponse(Response response, String tag)Creates aFailedRequestExceptionbased on the passed in response and request tag.Method parameters in org.eclipse.sw360.http.utils with type arguments of type Response Modifier and Type Method Description static <T> ResponseProcessor<T>HttpUtils. checkResponse(ResponseProcessor<T> processor, Predicate<Response> successPredicate)Returns aResponseProcessorthat checks whether a request was successful based on a given predicate.static <T> ResponseProcessor<T>HttpUtils. checkResponse(ResponseProcessor<T> processor, Predicate<Response> successPredicate, String tag)Returns aResponseProcessorthat checks whether a request was successful based on a given predicate and allows tagging the request.
-