Package | Description |
---|---|
org.refcodes.net | |
org.refcodes.net.impls |
Modifier and Type | Method and Description |
---|---|
HttpStatusCode |
HttpStatusCodeAccessor.getHttpStatusCode()
Retrieves the HTTP Status-Code from the HTTP Status-Code property.
|
HttpStatusCode |
HttpStatusException.getStatusCode() |
HttpStatusCode |
HttpStatusRuntimeException.getStatusCode() |
static HttpStatusCode |
HttpStatusCode.toHttpStatusCode(int aHttpStatusCode)
Determines the HTTP success code from the given value by evaluating the
getStatusCode() 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 the
getStatusCode() 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.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpStatusCodeAccessor.HttpStatusCodeMutator.setHttpStatusCode(HttpStatusCode aStatusCode)
Sets the HTTP Status-Code for the HTTP Status-Code property.
|
default HttpServerResponse |
HttpServerResponse.withHttpStatusCode(HttpStatusCode aStatusCode) |
B |
HttpStatusCodeAccessor.HttpStatusCodeBuilder.withHttpStatusCode(HttpStatusCode aStatusCode)
Sets the HTTP Status-Code for the HTTP Status-Code property.
|
Modifier and Type | Field and Description |
---|---|
protected HttpStatusCode |
HttpResponseImpl._httpStatusCode |
Modifier and Type | Method and Description |
---|---|
HttpStatusCode |
HttpResponseImpl.getHttpStatusCode() |
Modifier and Type | Method and Description |
---|---|
void |
HttpServerResponseImpl.setHttpStatusCode(HttpStatusCode aStatusCode) |
Constructor and Description |
---|
HttpClientResponseImpl(HttpStatusCode aHttpStatusCode,
ResponseHeaderFields aHeaderFields,
InputStream aHttpInputStream,
MediaTypeFactoryLookup aMediaTypeFactoryLookup)
Constructs a
HttpClientResponse with all required attributes. |
HttpResponseImpl(HttpStatusCode aHttpStatusCode)
Constructs a
HttpResponse with all required attributes. |
HttpResponseImpl(HttpStatusCode aHttpStatusCode,
ResponseHeaderFields aHeaderFields)
Constructs a
HttpResponse with all required attributes. |
HttpServerResponseImpl(HttpStatusCode aHttpStatusCode,
MediaTypeFactoryLookup aMediaTypeFactoryLookup) |
Copyright © 2017. All rights reserved.