Package org.springdoc.core.converters
Class ConverterUtils
- java.lang.Object
-
- org.springdoc.core.converters.ConverterUtils
-
public class ConverterUtils extends Object
The type Converter utils.- Author:
- bnasslahsen
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addFluxWrapperToIgnore(Class<?> cls)
Add flux wrapper to ignore.static void
addResponseTypeToIgnore(Class<?> cls)
Add response type to ignore.static void
addResponseWrapperToIgnore(Class<?> cls)
Add response wrapper to ignore.static boolean
isFluxTypeWrapper(Class<?> rawClass)
Is flux type wrapper boolean.static boolean
isResponseTypeToIgnore(Class<?> rawClass)
Is response type to ignore boolean.static boolean
isResponseTypeWrapper(Class<?> rawClass)
Is response type wrapper boolean.static void
removeFluxWrapperToIgnore(Class<?> classes)
Remove flux wrapper to ignore.static void
removeResponseTypeToIgnore(Class<?> classes)
Remove response type to ignore.static void
removeResponseWrapperToIgnore(Class<?> classes)
Remove response wrapper to ignore.
-
-
-
Method Detail
-
addResponseWrapperToIgnore
public static void addResponseWrapperToIgnore(Class<?> cls)
Add response wrapper to ignore.- Parameters:
cls
- the cls
-
addResponseTypeToIgnore
public static void addResponseTypeToIgnore(Class<?> cls)
Add response type to ignore.- Parameters:
cls
- the cls
-
isResponseTypeWrapper
public static boolean isResponseTypeWrapper(Class<?> rawClass)
Is response type wrapper boolean.- Parameters:
rawClass
- the raw class- Returns:
- the boolean
-
isResponseTypeToIgnore
public static boolean isResponseTypeToIgnore(Class<?> rawClass)
Is response type to ignore boolean.- Parameters:
rawClass
- the raw class- Returns:
- the boolean
-
removeResponseWrapperToIgnore
public static void removeResponseWrapperToIgnore(Class<?> classes)
Remove response wrapper to ignore.- Parameters:
classes
- the classes
-
removeResponseTypeToIgnore
public static void removeResponseTypeToIgnore(Class<?> classes)
Remove response type to ignore.- Parameters:
classes
- the classes
-
isFluxTypeWrapper
public static boolean isFluxTypeWrapper(Class<?> rawClass)
Is flux type wrapper boolean.- Parameters:
rawClass
- the raw class- Returns:
- the boolean
-
removeFluxWrapperToIgnore
public static void removeFluxWrapperToIgnore(Class<?> classes)
Remove flux wrapper to ignore.- Parameters:
classes
- the classes
-
addFluxWrapperToIgnore
public static void addFluxWrapperToIgnore(Class<?> cls)
Add flux wrapper to ignore.- Parameters:
cls
- the cls
-
-