public class BambooContentTypeResolver extends Object implements com.atlassian.plugin.servlet.ContentTypeResolver, org.springframework.web.context.ServletContextAware
Modifier and Type | Field and Description |
---|---|
static String |
MIME_TYPE_CONFIGURATION_FILE |
Constructor and Description |
---|
BambooContentTypeResolver() |
Modifier and Type | Method and Description |
---|---|
String |
getContentType(String requestUrl) |
protected Map<String,String> |
getMimeTypes() |
void |
init() |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
public static final String MIME_TYPE_CONFIGURATION_FILE
public void init()
public String getContentType(String requestUrl)
getContentType
in interface com.atlassian.plugin.servlet.ContentTypeResolver
public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext
in interface org.springframework.web.context.ServletContextAware
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.