@ExportPackage
Package com.yahoo.restapi
-
Interface Summary Interface Description RestApi Rest API routing and response serializationRestApi.Builder RestApi.ExceptionMapper<EXCEPTION extends RuntimeException> RestApi.Filter RestApi.FilterContext RestApi.Handler<RESPONSE_ENTITY> RestApi.HandlerConfigBuilder RestApi.HandlerWithRequestEntity<REQUEST_ENTITY,RESPONSE_ENTITY> RestApi.RequestContext RestApi.RequestContext.Attributes RestApi.RequestContext.Headers RestApi.RequestContext.Parameters RestApi.RequestContext.PathParameters RestApi.RequestContext.QueryParameters RestApi.RequestContext.RequestContent RestApi.RequestMapper<REQUEST_ENTITY> RestApi.ResponseMapper<RESPONSE_ENTITY> RestApi.RouteBuilder RestApiRequestHandler.RestApiProvider<T> RestApiTestDriver.RestApiRequestHandlerFactory -
Class Summary Class Description ByteArrayResponse ErrorResponse A HTTP JSON response containing an error code and a messageJacksonJsonResponse<T> A JSON response using Jackson for serialization.MessageResponse A 200 ok response with a message in JSON.Path A path which is able to match strings containing bracketed placeholders and return the values given at the placeholders.RedirectResponse A HTTP redirect responseResourceResponse Returns a response containing an array of links to sub-resourcesRestApiMappers RestApiMappers.JacksonRequestMapper<ENTITY> RestApiMappers.JacksonResponseMapper<ENTITY> RestApiRequestHandler<T extends RestApiRequestHandler<T>> RestApiTestDriver Test driver forRestApi
RestApiTestDriver.Builder SlimeJsonResponse A generic Json response using Slime for JSON encodingStringResponse UriBuilder A Uri which provides convenience methods for creating various manipulated copies. -
Enum Summary Enum Description ErrorResponse.errorCodes -
Exception Summary Exception Description RestApiException ARuntimeException
that represents a http response.RestApiException.BadRequest RestApiException.Conflict RestApiException.Forbidden RestApiException.InternalServerError RestApiException.MethodNotAllowed RestApiException.NotFound RestApiException.Unauthorized