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.
  • 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.