Uses of Class
org.refcodes.web.HttpStatusCode
-
-
Uses of HttpStatusCode in org.refcodes.web
Fields in org.refcodes.web declared as HttpStatusCode Modifier and Type Field Description protected HttpStatusCode
AbstractHttpResponse. _httpStatusCode
Methods in org.refcodes.web that return HttpStatusCode Modifier and Type Method Description HttpStatusCode
AbstractHttpResponse. getHttpStatusCode()
Retrieves the HTTP Status-Code from the HTTP Status-Code property.HttpStatusCode
HttpStatusCodeAccessor. getHttpStatusCode()
Retrieves the HTTP Status-Code from the HTTP Status-Code property.HttpStatusCode
HttpBodyMap. getStatusCode()
Retrieves the public path's ("status/code") status code.HttpStatusCode
HttpStatusException. getStatusCode()
HttpStatusCode
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
HttpStatusCode. valueOf(String name)
Returns the enum constant of this type with the specified name.static HttpStatusCode[]
HttpStatusCode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.refcodes.web with parameters of type HttpStatusCode Modifier and Type Method Description 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).String
HttpBodyMap. putStatusAlias(HttpStatusCode aStatusCode)
Puts a public path's ("status/alias") status alias.String
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
HttpServerResponse. withHttpStatusCode(HttpStatusCode aStatusCode)
Sets the HTTP Status-Code for the HTTP Status-Code property.B
HttpStatusCodeAccessor.HttpStatusCodeBuilder. withHttpStatusCode(HttpStatusCode aStatusCode)
Sets the HTTP Status-Code for the HTTP Status-Code property.HttpBodyMap
HttpBodyMap. withPutStatusAlias(HttpStatusCode aStatusCode)
Puts a public path's ("status/alias") status alias.HttpBodyMap
HttpBodyMap. withPutStatusCode(HttpStatusCode aStatusCode)
Puts a public path's ("status/code") status code.Constructors in org.refcodes.web with parameters of type HttpStatusCode Constructor Description AbstractHttpResponse(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 message)
Instantiates a new http response exception.HttpResponseException(HttpStatusCode aStatusCode, String aMessage, String aErrorCode)
Instantiates a new http response exception.HttpResponseException(HttpStatusCode aStatusCode, String message, Throwable cause)
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 cause)
Instantiates a new http response exception.HttpResponseException(HttpStatusCode aStatusCode, Throwable aCause, String aErrorCode)
Instantiates a new http response exception.HttpResponseRuntimeException(HttpStatusCode aStatusCode, String message)
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 message, Throwable cause)
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 cause)
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 message)
Instantiates a new http status exception.HttpStatusException(HttpStatusCode aStatusCode, String aMessage, String aErrorCode)
Instantiates a new http status exception.HttpStatusException(HttpStatusCode aStatusCode, String message, Throwable cause)
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 cause)
Instantiates a new http status exception.HttpStatusException(HttpStatusCode aStatusCode, Throwable aCause, String aErrorCode)
Instantiates a new http status exception.HttpStatusRuntimeException(HttpStatusCode aStatusCode, String message)
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 message, Throwable cause)
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 cause)
Instantiates a new http status runtime exception.HttpStatusRuntimeException(HttpStatusCode aStatusCode, Throwable aCause, String aErrorCode)
Instantiates a new http status runtime exception.
-