}
@Override
protected Factory<?> createValueFactory(Parameter parameter) {
if (parameter.getRawType().equals(Optional.class)) {
MultivaluedParameterExtractor extractor = get(unpack(parameter));
return new OptionalQueryParamValueFactory(extractor, !parameter.isEncoded());
}
return null;
}