-
public final class ErrorEvent.ResourceResource properties of the error
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classErrorEvent.Resource.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ErrorEvent.Methodmethodprivate final LongstatusCodeprivate Stringurlprivate final ErrorEvent.Providerprovider
-
Constructor Summary
Constructors Constructor Description ErrorEvent.Resource(ErrorEvent.Method method, Long statusCode, String url, ErrorEvent.Provider provider)
-
Method Summary
Modifier and Type Method Description final ErrorEvent.MethodgetMethod()final LonggetStatusCode()final StringgetUrl()final UnitsetUrl(String url)final ErrorEvent.ProvidergetProvider()final JsonElementtoJson()-
-
Constructor Detail
-
ErrorEvent.Resource
ErrorEvent.Resource(ErrorEvent.Method method, Long statusCode, String url, ErrorEvent.Provider provider)
- Parameters:
method- HTTP method of the resourcestatusCode- HTTP Status code of the resourceurl- URL of the resourceprovider- The provider for this resource
-
-
Method Detail
-
getMethod
final ErrorEvent.Method getMethod()
-
getStatusCode
final Long getStatusCode()
-
getProvider
final ErrorEvent.Provider getProvider()
-
toJson
final JsonElement toJson()
-
-
-
-