@Deprecated
public static final class FixedResponse.Builder
extends java.lang.Object
FixedResponse
Constructor and Description |
---|
Builder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
FixedResponse |
build()
Deprecated.
|
FixedResponse.Builder |
contentType(ContentType contentType)
Deprecated.
|
FixedResponse.Builder |
messageBody(java.lang.String messageBody)
Deprecated.
|
FixedResponse.Builder |
statusCode(java.lang.String statusCode)
Deprecated.
|
@Deprecated public FixedResponse.Builder statusCode(java.lang.String statusCode)
FixedResponse.getStatusCode()
statusCode
- The HTTP response code (2XX, 4XX or 5XX). This parameter is required.this
@Deprecated public FixedResponse.Builder contentType(ContentType contentType)
FixedResponse.getContentType()
contentType
- The content type.this
@Deprecated public FixedResponse.Builder messageBody(java.lang.String messageBody)
FixedResponse.getMessageBody()
messageBody
- The message.this
@Deprecated public FixedResponse build()
FixedResponse
java.lang.NullPointerException
- if any required attribute was not provided