@FunctionalInterface public interface ResponseFormatResolver extends BiFunction<String,javax.ws.rs.container.ContainerRequestContext,String>
Modifier and Type | Method and Description |
---|---|
String |
apply(String format,
javax.ws.rs.container.ContainerRequestContext containerRequestContext)
Resolve desirable format from URI and ContainerRequestContext.
|
andThen
String apply(String format, javax.ws.rs.container.ContainerRequestContext containerRequestContext)
apply
in interface BiFunction<String,javax.ws.rs.container.ContainerRequestContext,String>
format
- The format String from URIcontainerRequestContext
- ContainerRequestContext object that contains request related informationCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.