Class WebConfigurer.PathContentNegotiationStrategy
java.lang.Object
it.uniroma2.art.semanticturkey.mdr.services.WebConfigurer.PathContentNegotiationStrategy
- All Implemented Interfaces:
org.springframework.web.accept.ContentNegotiationStrategy
- Direct Known Subclasses:
WebConfigurer.MODJSONLDFallbackContentNegotiationStrategy,WebConfigurer.MODParameterContentNegotiationStrategy
- Enclosing class:
- WebConfigurer
public abstract static class WebConfigurer.PathContentNegotiationStrategy
extends Object
implements org.springframework.web.accept.ContentNegotiationStrategy
-
Field Summary
Fields inherited from interface org.springframework.web.accept.ContentNegotiationStrategy
MEDIA_TYPE_ALL_LIST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract List<org.springframework.http.MediaType>getMediaTypes(String path, jakarta.servlet.http.HttpServletRequest request) List<org.springframework.http.MediaType>resolveMediaTypes(org.springframework.web.context.request.NativeWebRequest webRequest)
-
Constructor Details
-
PathContentNegotiationStrategy
-
-
Method Details
-
resolveMediaTypes
public List<org.springframework.http.MediaType> resolveMediaTypes(org.springframework.web.context.request.NativeWebRequest webRequest) throws org.springframework.web.HttpMediaTypeNotAcceptableException - Specified by:
resolveMediaTypesin interfaceorg.springframework.web.accept.ContentNegotiationStrategy- Throws:
org.springframework.web.HttpMediaTypeNotAcceptableException
-
getMediaTypes
-