@Override
public <T extends Throwable> ExceptionMapper<T> getExceptionMapper(Class<T> type) {
// exception mappers are not supported on the client side
final ExceptionMappers actualMappers = mappers.get();
return (actualMappers != null) ? actualMappers.find(type) : null;
}
@Override
public <T> ContextResolver<T> getContextResolver(Class<T> contextType, MediaType mediaType) {
return resolvers.get().resolve(contextType, mediaType);