Class HttpRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
io.github.ascopes.protobufmavenplugin.utils.HttpRequestException
- All Implemented Interfaces:
Serializable
Exception raised if HTTP request fails
- Since:
- 3.10.2
- Author:
- Ilja Kanstanczuk
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpRequestException
fromHttpResponse
(HttpResponse<InputStream> response) @Nullable String
@Nullable String
@Nullable String
@Nullable String
int
@Nullable String
toString()
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
HttpRequestException
-
-
Method Details
-
fromHttpResponse
-
getStatusCode
public int getStatusCode() -
getCorrelationId
-
getRequestId
-
getWwwAuthenticate
-
getProxyAuthenticate
-
getResponseBody
-
toString
-