Uses of Enum Class
org.refcodes.web.HttpStatusCode
-
Uses of HttpStatusCode in org.refcodes.web
Fields in org.refcodes.web declared as HttpStatusCodeMethods in org.refcodes.web that return HttpStatusCodeModifier and TypeMethodDescriptionAbstractHttpResponse.getHttpStatusCode()
Retrieves the HTTP Status-Code from the HTTP Status-Code property.HttpStatusCodeAccessor.getHttpStatusCode()
Retrieves the HTTP Status-Code from the HTTP Status-Code property.HttpBodyMap.getStatusCode()
Retrieves the public path's ("status/code") status code.HttpStatusException.getStatusCode()
HttpStatusRuntimeException.getStatusCode()
default HttpStatusCode
HttpStatusCodeAccessor.HttpStatusCodeProperty.letHttpStatusCode
(HttpStatusCode aHttpStatusCode) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenHttpStatusCode
(setter) as ofHttpStatusCodeAccessor.HttpStatusCodeMutator.setHttpStatusCode(HttpStatusCode)
and returns the very same value (getter).static HttpStatusCode
HttpStatusCode.toHttpStatusCode
(int aHttpStatusCode) Determines the HTTP success code from the given value by evaluating thegetStatusCode()
property.static HttpStatusCode
HttpStatusCode.toHttpStatusCode
(org.refcodes.mixin.StatusCodeAccessor<Integer> aHttpStatusCode) Determines the HTTP success code from the given HTTP Status-Code property by evaluating thegetStatusCode()
property.static HttpStatusCode
Returns the enum constant of this class with the specified name.static HttpStatusCode[]
HttpStatusCode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.refcodes.web with parameters of type HttpStatusCodeModifier and TypeMethodDescriptiondefault HttpStatusCode
HttpStatusCodeAccessor.HttpStatusCodeProperty.letHttpStatusCode
(HttpStatusCode aHttpStatusCode) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenHttpStatusCode
(setter) as ofHttpStatusCodeAccessor.HttpStatusCodeMutator.setHttpStatusCode(HttpStatusCode)
and returns the very same value (getter).HttpBodyMap.putStatusAlias
(HttpStatusCode aStatusCode) Puts a public path's ("status/alias") status alias.HttpBodyMap.putStatusCode
(HttpStatusCode aStatusCode) Puts a public path's ("status/code") status code.void
HttpServerResponse.setHttpStatusCode
(HttpStatusCode aStatusCode) Sets the HTTP Status-Code for the HTTP Status-Code property.void
HttpStatusCodeAccessor.HttpStatusCodeMutator.setHttpStatusCode
(HttpStatusCode aStatusCode) Sets the HTTP Status-Code for the HTTP Status-Code property.HttpServerResponse.withHttpStatusCode
(HttpStatusCode aStatusCode) Sets the HTTP Status-Code for the HTTP Status-Code property.HttpStatusCodeAccessor.HttpStatusCodeBuilder.withHttpStatusCode
(HttpStatusCode aStatusCode) Sets the HTTP Status-Code for the HTTP Status-Code property.HttpBodyMap.withPutStatusAlias
(HttpStatusCode aStatusCode) Puts a public path's ("status/alias") status alias.HttpBodyMap.withPutStatusCode
(HttpStatusCode aStatusCode) Puts a public path's ("status/code") status code.Constructors in org.refcodes.web with parameters of type HttpStatusCodeModifierConstructorDescriptionAbstractHttpResponse
(HttpStatusCode aHttpStatusCode) Constructs aHttpResponse
with all required attributes.AbstractHttpResponse
(HttpStatusCode aHttpStatusCode, ResponseHeaderFields aHeaderFields) Constructs aHttpResponse
with all required attributes.HttpClientResponse
(Url aUrl, HttpStatusCode aHttpStatusCode, ResponseHeaderFields aHeaderFields, InputStream aHttpInputStream, MediaTypeFactoryLookup aMediaTypeFactoryLookup) Constructs aHttpClientResponse
with all required attributes.HttpResponseException
(HttpStatusCode aStatusCode, String aMessage) Instantiates a new http response exception.HttpResponseException
(HttpStatusCode aStatusCode, String aMessage, String aErrorCode) Instantiates a new http response exception.HttpResponseException
(HttpStatusCode aStatusCode, String aMessage, Throwable aCause) Instantiates a new http response exception.HttpResponseException
(HttpStatusCode aStatusCode, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new http response exception.HttpResponseException
(HttpStatusCode aStatusCode, Throwable aCause) Instantiates a new http response exception.HttpResponseException
(HttpStatusCode aStatusCode, Throwable aCause, String aErrorCode) Instantiates a new http response exception.HttpResponseRuntimeException
(HttpStatusCode aStatusCode, String aMessage) Instantiates a new http response runtime exception.HttpResponseRuntimeException
(HttpStatusCode aStatusCode, String aMessage, String aErrorCode) Instantiates a new http response runtime exception.HttpResponseRuntimeException
(HttpStatusCode aStatusCode, String aMessage, Throwable aCause) Instantiates a new http response runtime exception.HttpResponseRuntimeException
(HttpStatusCode aStatusCode, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new http response runtime exception.HttpResponseRuntimeException
(HttpStatusCode aStatusCode, Throwable aCause) Instantiates a new http response runtime exception.HttpResponseRuntimeException
(HttpStatusCode aStatusCode, Throwable aCause, String aErrorCode) Instantiates a new http response runtime exception.HttpServerResponse
(HttpStatusCode aHttpStatusCode, MediaTypeFactoryLookup aMediaTypeFactoryLookup) Instantiates a new http server response impl.HttpStatusException
(HttpStatusCode aStatusCode, String aMessage) Instantiates a new HTTP status exception.HttpStatusException
(HttpStatusCode aStatusCode, String aMessage, String aErrorCode) Instantiates a new HTTP status exception.HttpStatusException
(HttpStatusCode aStatusCode, String aMessage, Throwable aCause) Instantiates a new HTTP status exception.HttpStatusException
(HttpStatusCode aStatusCode, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new HTTP status exception.HttpStatusException
(HttpStatusCode aStatusCode, Throwable aCause) Instantiates a new HTTP status exception.HttpStatusException
(HttpStatusCode aStatusCode, Throwable aCause, String aErrorCode) Instantiates a new HTTP status exception.HttpStatusRuntimeException
(HttpStatusCode aStatusCode, String aMessage) Instantiates a new http status runtime exception.HttpStatusRuntimeException
(HttpStatusCode aStatusCode, String aMessage, String aErrorCode) Instantiates a new http status runtime exception.HttpStatusRuntimeException
(HttpStatusCode aStatusCode, String aMessage, Throwable aCause) Instantiates a new http status runtime exception.HttpStatusRuntimeException
(HttpStatusCode aStatusCode, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new http status runtime exception.HttpStatusRuntimeException
(HttpStatusCode aStatusCode, Throwable aCause) Instantiates a new http status runtime exception.HttpStatusRuntimeException
(HttpStatusCode aStatusCode, Throwable aCause, String aErrorCode) Instantiates a new http status runtime exception.