Interface TraversonDefaults
public interface TraversonDefaults
SPI that exposes
HttpMessageConverter
s and LinkDiscoverer
s to be used by default by
Traverson
. Not intended for public implementation.- Author:
- Oliver Drotbohm
-
Method Summary
Modifier and TypeMethodDescriptiongetHttpMessageConverters
(Collection<MediaType> mediaTypes) Returns theHttpMessageConverter
instances to be registered for the givenMediaType
s.getLinkDiscoverers
(Collection<MediaType> mediaTypes) Returns theLinkDiscoverer
s to be registered by default for the givenMediaType
s.
-
Method Details
-
getHttpMessageConverters
Returns theHttpMessageConverter
instances to be registered for the givenMediaType
s.- Parameters:
mediaTypes
- will never be null.- Returns:
-
getLinkDiscoverers
Returns theLinkDiscoverer
s to be registered by default for the givenMediaType
s.- Parameters:
mediaTypes
- will never be null.- Returns:
-