Uses of Interface
com.yahoo.restapi.RestApi.Builder
-
Uses of RestApi.Builder in com.yahoo.restapi
Modifier and TypeMethodDescription<EXCEPTION extends RuntimeException>
RestApi.BuilderRestApi.Builder.addExceptionMapper
(Class<EXCEPTION> type, RestApi.ExceptionMapper<EXCEPTION> mapper) seeRestApiMappers.DEFAULT_EXCEPTION_MAPPERS
for default mappersRestApi.Builder.addFilter
(RestApi.Filter filter) <REQUEST_ENTITY>
RestApi.BuilderRestApi.Builder.addRequestMapper
(Class<REQUEST_ENTITY> type, RestApi.RequestMapper<REQUEST_ENTITY> mapper) seeRestApiMappers.DEFAULT_REQUEST_MAPPERS
for default mappers<RESPONSE_ENTITY>
RestApi.BuilderRestApi.Builder.addResponseMapper
(Class<RESPONSE_ENTITY> type, RestApi.ResponseMapper<RESPONSE_ENTITY> mapper) seeRestApiMappers.DEFAULT_RESPONSE_MAPPERS
for default mappersRestApi.Builder.addRoute
(RestApi.RouteBuilder route) static RestApi.Builder
RestApi.builder()
RestApi.Builder.disableDefaultAclMapping()
RestApi.Builder.disableDefaultExceptionMappers()
Disables mappers listed inRestApiMappers.DEFAULT_EXCEPTION_MAPPERS
RestApi.Builder.disableDefaultResponseMappers()
Disables mappers listed inRestApiMappers.DEFAULT_RESPONSE_MAPPERS
<REQUEST_ENTITY>
RestApi.BuilderRestApi.Builder.registerJacksonRequestEntity
(Class<REQUEST_ENTITY> type) <RESPONSE_ENTITY>
RestApi.BuilderRestApi.Builder.registerJacksonResponseEntity
(Class<RESPONSE_ENTITY> type) RestApi.Builder.requiredCapabilities
(com.yahoo.security.tls.Capability... capabilities) RestApi.Builder.requiredCapabilities
(com.yahoo.security.tls.CapabilitySet capabilities) RestApi.Builder.setDefaultRoute
(RestApi.RouteBuilder route) RestApi.Builder.setObjectMapper
(com.fasterxml.jackson.databind.ObjectMapper mapper)