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       /**
10       * Returns the content type for the given resource path.
11       */
12      String getContentType(String requestUrl);
13  }