Interface NettyCustomizableResponseTypeHandlerRegistry
-
- All Known Implementing Classes:
DefaultCustomizableResponseTypeHandlerRegistry
@Internal public interface NettyCustomizableResponseTypeHandlerRegistryRepresents a registry ofNettyCustomizableResponseTypeHandlerand finds the correct handler based on the type.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<NettyCustomizableResponseTypeHandler>findTypeHandler(java.lang.Class<?> type)Finds the first type handler that supports the given type.
-
-
-
Method Detail
-
findTypeHandler
java.util.Optional<NettyCustomizableResponseTypeHandler> findTypeHandler(java.lang.Class<?> type)
Finds the first type handler that supports the given type.- Parameters:
type- The type to search for- Returns:
- An optional
NettyCustomizableResponseTypeHandler - See Also:
NettyCustomizableResponseTypeHandler.supports(Class)
-
-