Class AbstractTypedContentProvider

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String contentType  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractTypedContentProvider​(java.lang.String contentType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContentType()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, iterator, spliterator
    • Field Detail

      • contentType

        private final java.lang.String contentType
    • Constructor Detail

      • AbstractTypedContentProvider

        protected AbstractTypedContentProvider​(java.lang.String contentType)
    • Method Detail

      • getContentType

        public java.lang.String getContentType()
        Specified by:
        getContentType in interface ContentProvider.Typed
        Returns:
        the content type string such as "application/octet-stream" or "application/json;charset=UTF8", or null if no content type must be set