@Singleton public static class ParamConverters.OptionalCustomProvider extends Object implements ParamConverterProvider
param converter
that produce the Optional instance
by invoking ParamConverterProvider
.Constructor and Description |
---|
OptionalCustomProvider(InjectionManager manager,
boolean canReturnNull) |
Modifier and Type | Method and Description |
---|---|
<T> ParamConverter<T> |
getConverter(Class<T> rawType,
Type genericType,
Annotation[] annotations) |
public OptionalCustomProvider(InjectionManager manager, boolean canReturnNull)
public <T> ParamConverter<T> getConverter(Class<T> rawType, Type genericType, Annotation[] annotations)
getConverter
in interface ParamConverterProvider
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.