public static final class ServiceResponseBuilder.Factory extends Object implements ResponseBuilder.Factory
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
<T,E extends RestException> |
newInstance(SerializerAdapter<?> serializerAdapter)
Returns a response builder instance.
|
public <T,E extends RestException> ServiceResponseBuilder<T,E> newInstance(SerializerAdapter<?> serializerAdapter)
ResponseBuilder.Factory
newInstance
in interface ResponseBuilder.Factory
T
- the type of the return objectE
- the type of the exceptionCopyright © 2019. All rights reserved.