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
  • Constructor Details

    • PathContentNegotiationStrategy

      public PathContentNegotiationStrategy(String prefix)
  • Method Details

    • resolveMediaTypes

      public List<org.springframework.http.MediaType> resolveMediaTypes(org.springframework.web.context.request.NativeWebRequest webRequest) throws org.springframework.web.HttpMediaTypeNotAcceptableException
      Specified by:
      resolveMediaTypes in interface org.springframework.web.accept.ContentNegotiationStrategy
      Throws:
      org.springframework.web.HttpMediaTypeNotAcceptableException
    • getMediaTypes

      protected abstract List<org.springframework.http.MediaType> getMediaTypes(String path, jakarta.servlet.http.HttpServletRequest request)