A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

AbstractMimeTypesGrailsPlugin - Class in org.grails.plugins.web.mime
Provides content negotiation capabilities to Grails via a new withFormat method on controllers as well as a format property on the HttpServletRequest instance.
AbstractMimeTypesGrailsPlugin() - Constructor in AbstractMimeTypesGrailsPlugin
AcceptHeaderParser - Interface in grails.web.mime
apiSupport - Field in HttpServletRequestExtension
apiSupport - Property in HttpServletResponseExtension
applicationContext - Property in MimeTypesFactoryBean

B

C

configuredMimeTypes - Property in DefaultAcceptHeaderParser
createMimeTypeAndAddToList(java.lang.String, grails.web.mime.MimeType, List<MimeType>, Map<String, String>) - Method in DefaultAcceptHeaderParser

D

DefaultAcceptHeaderParser - Class in org.grails.web.mime
Parsed the HTTP accept header into a a list of MimeType instances in the order of priority.
DefaultAcceptHeaderParser(grails.web.mime.MimeType) - Constructor in DefaultAcceptHeaderParser
DefaultMimeTypeResolver - Class in org.grails.web.mime
Resolves the grails.web.mime.MimeType instance for a request
DefaultMimeTypeResolver() - Constructor in DefaultMimeTypeResolver
DefaultMimeUtility - Class in org.grails.web.mime
Authors:
Graeme Rocher
DefaultMimeUtility(List<MimeType>) - Constructor in DefaultMimeUtility
dependsOn - Property in AbstractMimeTypesGrailsPlugin
disableForUserAgents - Property in HttpServletResponseExtension
doWithSpring() - Method in AbstractMimeTypesGrailsPlugin
doWithSpring() - Method in MimeTypesGrailsPlugin

E

F

FormatInterceptor - Class in org.grails.plugins.web.mime
Interceptors a closure call and gathers method calls that take a closure into a map format->closure
FormatInterceptor() - Constructor in FormatInterceptor
formatOptions - Property in FormatInterceptor

G

getDefinedFormats(groovy.lang.Closure) - Method in MimeTypesApiSupport
getFormat(javax.servlet.http.HttpServletRequest) - Method in HttpServletRequestExtension
Obtains the request format, which is dictated by the CONTENT_TYPE header and evaluated using the configured MimeType instances.
getFormat(javax.servlet.http.HttpServletResponse) - Method in HttpServletResponseExtension
Obtains the format to use for the response using either the file extension or the ACCEPT header
getKnownMimeTypes() - Method in DefaultMimeUtility
{@inheritDoc}
getKnownMimeTypes() - Method in MimeUtility
Gets the known configured MimeType instances
getMimeConfig(grails.config.Config) - Method in MimeTypesConfiguration
getMimeConfig(grails.config.Config) - Method in MimeTypesFactoryBean
getMimeType(javax.servlet.http.HttpServletResponse) - Method in HttpServletResponseExtension
Obtains the MimeType for the response using either the file extension or the ACCEPT header
getMimeTypeForExtension(java.lang.String) - Method in DefaultMimeUtility
{@inheritDoc}
getMimeTypeForExtension(java.lang.String) - Method in MimeUtility
Obtains a MimeType for the given extension
getMimeTypeForURI(java.lang.String) - Method in DefaultMimeUtility
getMimeTypeForURI(java.lang.String) - Method in MimeUtility
Obtains a MimeType for the given extension
getMimeTypes(javax.servlet.http.HttpServletRequest) - Method in HttpServletRequestExtension
Obtains a list of configured grails.web.mime.MimeType instances for the request
getMimeTypes(javax.servlet.http.HttpServletResponse) - Method in HttpServletResponseExtension
Gets the configured mime types for the response
getMimeTypesFormatAware(javax.servlet.http.HttpServletResponse) - Method in HttpServletResponseExtension
Gets the configured mime types for the response
getObject() - Method in MimeTypesFactoryBean
getObjectType() - Method in MimeTypesFactoryBean
grailsApplication - Property in MimeTypesFactoryBean

H

HttpServletRequestExtension - Class in org.grails.web.mime
An extension that adds methods to the HttpServletRequest object for mime types
HttpServletRequestExtension() - Constructor in HttpServletRequestExtension
HttpServletResponseExtension - Class in org.grails.web.mime
Extends the HttpServletResponse object with new methods for handling MimeType instances
HttpServletResponseExtension() - Constructor in HttpServletResponseExtension

I

invokeMethod(java.lang.String, java.lang.Object) - Method in FormatInterceptor
isSingleton() - Method in MimeTypesFactoryBean

J

K

L

loadMimeTypeConfig(grails.config.Config) - Method in HttpServletResponseExtension
LOG - Property in DefaultAcceptHeaderParser
lookupFormat(java.lang.Object) - Method in MimeTypesApiSupport
lookupMimeTypes(java.lang.Object) - Method in MimeTypesApiSupport

M

mimeTypeProviders - Property in MimeTypesFactoryBean
mimeTypeResolver() - Method in MimeTypesConfiguration
mimeTypes() - Method in MimeTypesConfiguration
mimeTypes - Property in MimeTypesHolder
MimeTypesApiSupport - Class in org.grails.plugins.web.api
Support class for dealing with calls to withFormat.
MimeTypesApiSupport() - Constructor in MimeTypesApiSupport
MimeTypesConfiguration - Class in org.grails.plugins.web.mime
Configuration for Codecs
MimeTypesConfiguration(grails.core.GrailsApplication, List<MimeTypeProvider>) - Constructor in MimeTypesConfiguration
MimeTypesFactoryBean - Class in org.grails.plugins.web.mime
Creates the MimeType[] object that defines the configured mime types.
MimeTypesFactoryBean() - Constructor in MimeTypesFactoryBean
MimeTypesGrailsPlugin - Class in org.grails.plugins.web.mime
Provides content negotiation capabilities to Grails via a new withFormat method on controllers as well as a format property on the HttpServletRequest instance.
MimeTypesGrailsPlugin() - Constructor in MimeTypesGrailsPlugin
MimeTypesHolder - Class in org.grails.plugins.web.mime
mimeTypesHolder() - Method in MimeTypesConfiguration
MimeTypesHolder(grails.web.mime.MimeType) - Constructor in MimeTypesHolder
MimeUtility - Interface in grails.web.mime
Authors:
Graeme Rocher
mimeUtility(org.grails.plugins.web.mime.MimeTypesHolder) - Method in MimeTypesConfiguration

N

O

observe - Property in AbstractMimeTypesGrailsPlugin

P

parse(java.lang.String, grails.web.mime.MimeType) - Method in AcceptHeaderParser
Parses an Accept header into an ordered array of MimeType definitions
parse(java.lang.String, grails.web.mime.MimeType) - Method in DefaultAcceptHeaderParser

Q

R

resolveAllFormat(java.lang.Object, LinkedHashMap<String, Object>) - Method in MimeTypesApiSupport
implementation for resolving "all" format
resolveRequestMimeType(org.grails.web.servlet.mvc.GrailsWebRequest) - Method in DefaultMimeTypeResolver
Resolve the MimeType to be used for the request, typically established from the CONTENT_TYPE header
resolveResponseMimeType(org.grails.web.servlet.mvc.GrailsWebRequest) - Method in DefaultMimeTypeResolver
Resolve the grails.web.mime.MimeType to be used for the response, typically established from the ACCEPT header

S

T

U

useAcceptHeader - Property in HttpServletResponseExtension
useAcceptHeaderXhr - Property in HttpServletResponseExtension

V

version - Property in AbstractMimeTypesGrailsPlugin

W

withFormat(javax.servlet.http.HttpServletRequest, groovy.lang.Closure) - Method in HttpServletRequestExtension
withFormat(javax.servlet.http.HttpServletResponse, groovy.lang.Closure) - Method in HttpServletResponseExtension
Allows for the response.withFormat { } syntax
withFormat(javax.servlet.http.HttpServletResponse, Closure<T>) - Method in MimeTypesApiSupport
withFormatInternal(java.lang.Object, LinkedHashMap<String, Object>) - Method in MimeTypesApiSupport

X

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _