Interface HttpStatusCodeAccessor
- All Known Subinterfaces:
HttpResponse, HttpResponseBuilder<B>, HttpStatusCodeAccessor.HttpStatusCodeProperty
- All Known Implementing Classes:
AbstractHttpResponse, BadGatewayException, BadInvocationException, BadRequestException, BadResponseException, BasicAuthFailureException, BasicAuthRequiredException, ConflictException, ExpectationFailedException, FailedDependencyException, ForbiddenException, GatewayTimeoutException, GoneException, HttpClientResponse, HttpResponseException, HttpServerResponse, HttpStatusException, HttpVersionNotSupportedException, InsufficientSpaceOnResourceException, InsufficientStorageException, InternalClientErrorException, InternalServerErrorException, LengthRequiredException, LockedException, MethodFailureException, MethodNotAllowedException, MovedPermanentlyException, MovedTemporarilyException, MultipleChoicesException, MultiStatusException, NoContentException, NonAuthoritativeInformationException, NotAcceptableException, NotFoundException, NotImplementedException, NotModifiedException, PartialContentException, PaymentRequiredException, PermanentRedirectException, PreconditionFailedException, ProxyAuthenticationRequiredException, ReauthenticationRequiredException, RequestedRangeNotSatisfiableException, RequestTimeoutException, RequestTooLongException, RequestUriTooLongException, ResetContentException, SeeOtherException, ServiceUnavailableException, TemporaryRedirectException, UnassignedStatusCodeException, UnauthorizedException, UnavailableForLegalReasonsException, UnprocessableEntityException, UnsupportedMediaTypeException, UseProxyException, VersionNotSupportedException
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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceHttpStatusCodeAccessor.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 interfaceExtends theHttpStatusCodeAccessorwith a setter method.static interfaceExtends theHttpStatusCodeAccessorwith 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.
-