- All Known Subinterfaces:
HttpResponse
,HttpResponseBuilder<B>
,HttpStatusCodeAccessor.HttpStatusCodeProperty
- All Known Implementing Classes:
AbstractHttpResponse
,HttpClientResponse
,HttpServerResponse
public interface HttpStatusCodeAccessor
Provides access to a HTTP Status-Code property including all known HTTP HTTP
Status-Codes (success as well as error codes) as of
HttpStatusCode
.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
HttpStatusCodeAccessor.HttpStatusCodeBuilder<B extends HttpStatusCodeAccessor.HttpStatusCodeBuilder<B>>
Provides a builder method for a HTTP Status-Code property returning the builder for applying multiple build operations.static interface
Extends theHttpStatusCodeAccessor
with a setter method.static interface
Extends theHttpStatusCodeAccessor
with a setter method. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the HTTP Status-Code from the HTTP Status-Code property.
-
Method Details
-
getHttpStatusCode
HttpStatusCode getHttpStatusCode()Retrieves the HTTP Status-Code from the HTTP Status-Code property.- Returns:
- The HTTP Status-Code stored by the HTTP Status-Code property.
-