Class ClientUtils
java.lang.Object
com.atlassian.crowd.directory.rest.ClientUtils
Utility methods for the Jersey client classes
javax.ws.rs.client.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcloseQuietly(javax.ws.rs.core.Response response) static javax.ws.rs.core.ResponseinvokeWithRetry(int maxAttempts, javax.ws.rs.client.Invocation invocation)
-
Constructor Details
-
ClientUtils
public ClientUtils()
-
-
Method Details
-
invokeWithRetry
@Nullable public static javax.ws.rs.core.Response invokeWithRetry(int maxAttempts, @Nonnull javax.ws.rs.client.Invocation invocation) -
closeQuietly
public static void closeQuietly(@Nullable javax.ws.rs.core.Response response)
-