public class

SimpleContentTypeResolver

extends Object
implements ContentTypeResolver
java.lang.Object
   ↳ com.atlassian.plugin.refimpl.servlet.SimpleContentTypeResolver

Class Overview

A simple content type resolver that can identify css and js resources.

Summary

Public Constructors
SimpleContentTypeResolver()
Public Methods
String getContentType(String requestUrl)
Returns the content type for the given resource path.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.servlet.ContentTypeResolver

Public Constructors

public SimpleContentTypeResolver ()

Public Methods

public String getContentType (String requestUrl)

Returns the content type for the given resource path.