View Javadoc
1   package com.atlassian.plugin.servlet;
2   
3   /**
4    * Looks up content types for URL paths in an application-specific way. To be implemented in applications using
5    * atlassian-plugins.
6    */
7   public interface ContentTypeResolver {
8       /**
9        * Returns the content type for the given resource path.
10       */
11      String getContentType(String requestUrl);
12  }