public abstract class JaxRsErrorResponseBuilder extends Object
Constructor and Description |
---|
JaxRsErrorResponseBuilder() |
Modifier and Type | Method and Description |
---|---|
static <ResponseT extends ResponseWithErrorCode> |
build(ResponseT response)
Constructs a JAX-RS
Response . |
@Nonnull public static <ResponseT extends ResponseWithErrorCode> javax.ws.rs.core.Response build(@Nonnull ResponseT response)
Response
.ResponseT
- The generic response value type.response
- The instance of ResponseWithErrorCode
for which the JAX-RS Response
should be built.Copyright © 2021 SAP SE. All rights reserved.