Package com.dynatrace.openkit.providers
Interface HttpURLConnectionWrapper
-
public interface HttpURLConnectionWrapperInterface wrappingHttpURLConnectioncreation. Implementations can support connection retry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.net.HttpURLConnectiongetHttpURLConnection()Get a HttpURLConnection generated from the implementation specificsbooleanisRetryAllowed()Returns retry allowed status
-
-
-
Method Detail
-
getHttpURLConnection
java.net.HttpURLConnection getHttpURLConnection() throws java.io.IOExceptionGet a HttpURLConnection generated from the implementation specifics- Returns:
HttpURLConnectionwhich is generated- Throws:
java.io.IOException
-
isRetryAllowed
boolean isRetryAllowed()
Returns retry allowed status- Returns:
trueif retry is allowed andfalseif retry is not allowed
-
-