Package | Description |
---|---|
org.refcodes.net |
Use the types and definitions of this artifact when you are tired of defining
your own networking based basics, your own HTTP-status-code enumerations
(
HttpStatusCode or exceptions representing erroneous
HTTP state, or if you are tired of cookie handling, Header-Field processing
... and so on:
This artifact provides various types such as Cookie ,
FormFields , HeaderFields or
HttpMethod , which enable you to use such HTTP based
structures in a native Java way while having a tool at hand to bridge back
into the HTTP protocol world. |
Modifier and Type | Method and Description |
---|---|
HttpSuccessCode |
HttpSuccessCodeAccessor.getHttpSuccessCode()
Retrieves the HTTP success code from the HTTP success code property.
|
static HttpSuccessCode |
HttpSuccessCode.toHttpSuccessCode(int aHttpStatusCode)
Determines the HTTP success code from the given value by evaluating the
getStatusCode() property. |
static HttpSuccessCode |
HttpSuccessCode.toHttpSuccessCode(org.refcodes.mixin.StatusCodeAccessor<Integer> aHttpStatusCode)
Determines the HTTP success code from the given HTTP Status-Code property
by evaluating the
getStatusCode() property. |
static HttpSuccessCode |
HttpSuccessCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpSuccessCode[] |
HttpSuccessCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpSuccessCodeAccessor.HttpSuccessCodeMutator.setHttpSuccessCode(HttpSuccessCode aSuccessCode)
Sets the HTTP success code for the HTTP success code property.
|
B |
HttpSuccessCodeAccessor.HttpSuccessCodeBuilder.withHttpSuccessCode(HttpSuccessCode aSuccessCode)
Sets the HTTP success code for the HTTP success code property.
|
Copyright © 2017. All rights reserved.