public class DimensionApiRequestMapper extends RequestMapper<DimensionsApiRequest>
Constructor and Description |
---|
DimensionApiRequestMapper(ResourceDictionaries resourceDictionaries)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DimensionsApiRequest |
apply(DimensionsApiRequest request,
javax.ws.rs.container.ContainerRequestContext context)
Validate that dimensionApiRequest should not contain filter whose dimensions do not match requested dimension.
|
getResourceDictionaries
public DimensionApiRequestMapper(@NotNull ResourceDictionaries resourceDictionaries)
resourceDictionaries
- Dictionaries to use when mappingpublic DimensionsApiRequest apply(DimensionsApiRequest request, javax.ws.rs.container.ContainerRequestContext context) throws RequestValidationException
apply
in class RequestMapper<DimensionsApiRequest>
request
- the apiRequest to rewritecontext
- the ContainerRequestContextRequestValidationException
- when the filter contains dimensions that do not match requested dimensionCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.