Module org.refcodes.web
Package org.refcodes.web
Interface HttpStatusCodeAccessor.HttpStatusCodeBuilder<B extends HttpStatusCodeAccessor.HttpStatusCodeBuilder<B>>
- Type Parameters:
B
- The builder to return in order to be able to apply multiple build operations.
- All Known Implementing Classes:
HttpServerResponse
- Enclosing interface:
- HttpStatusCodeAccessor
public static interface HttpStatusCodeAccessor.HttpStatusCodeBuilder<B extends HttpStatusCodeAccessor.HttpStatusCodeBuilder<B>>
Provides a builder method for a HTTP Status-Code property returning the
builder for applying multiple build operations.
-
Method Summary
Modifier and TypeMethodDescriptionwithHttpStatusCode
(HttpStatusCode aStatusCode) Sets the HTTP Status-Code for the HTTP Status-Code property.
-
Method Details
-
withHttpStatusCode
Sets the HTTP Status-Code for the HTTP Status-Code property.- Parameters:
aStatusCode
- The HTTP Status-Code to be stored by the HTTP HTTP Status-Code property.- Returns:
- The builder for applying multiple build operations.
-