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.
AcceptHeaderParser - Interface in grails.web.mime
apiSupport - Field in HttpServletRequestExtension

B

C

compare(MimeType, MimeType) - Method in QualityComparator
createMimeTypeAndAddToList(String, 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(MimeType) - Constructor in DefaultAcceptHeaderParser
DefaultMimeTypeResolver - Class in org.grails.web.mime
Resolves the grails.web.mime.MimeType instance for a request
DefaultMimeUtility - Class in org.grails.web.mime
@author Graeme Rocher
DefaultMimeUtility(List<MimeType>) - Constructor in DefaultMimeUtility
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

G

getDefinedFormats(Closure) - Method in MimeTypesApiSupport
getFormat(HttpServletRequest) - Method in HttpServletRequestExtension
Obtains the request format, which is dictated by the CONTENT_TYPE header and evaluated using the configured grails.web.mime.MimeType instances.
getFormat(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(Config) - Method in MimeTypesConfiguration
getMimeConfig(Config) - Method in MimeTypesFactoryBean
getMimeType(HttpServletResponse) - Method in HttpServletResponseExtension
Obtains the MimeType for the response using either the file extension or the ACCEPT header
getMimeTypeForExtension(String) - Method in DefaultMimeUtility
{@inheritDoc}
getMimeTypeForExtension(String) - Method in MimeUtility
Obtains a MimeType for the given extension
getMimeTypeForURI(String) - Method in DefaultMimeUtility
getMimeTypeForURI(String) - Method in MimeUtility
Obtains a MimeType for the given extension
getMimeTypes(HttpServletRequest) - Method in HttpServletRequestExtension
Obtains a list of configured grails.web.mime.MimeType instances for the request
getMimeTypes(HttpServletResponse) - Method in HttpServletResponseExtension
Gets the configured mime types for the response
getMimeTypesFormatAware(HttpServletResponse) - Method in HttpServletResponseExtension
Gets the configured mime types for the response
getObject() - Method in MimeTypesFactoryBean
getObjectType() - Method in MimeTypesFactoryBean

H

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

I

invokeMethod(String, def) - Method in FormatInterceptor
isSingleton() - Method in MimeTypesFactoryBean

J

K

L

loadMimeTypeConfig(Config) - Method in HttpServletResponseExtension
lookupFormat(def) - Method in MimeTypesApiSupport
lookupMimeTypes(def) - Method in MimeTypesApiSupport

M

mimeTypeResolver() - Method in MimeTypesConfiguration
mimeTypes() - Method in MimeTypesConfiguration
MimeTypesApiSupport - Class in org.grails.plugins.web.api
Support class for dealing with calls to withFormat.
MimeTypesConfiguration - Class in org.grails.plugins.web.mime
Configuration for Codecs
MimeTypesConfiguration(GrailsApplication, List<MimeTypeProvider>) - Constructor in MimeTypesConfiguration
MimeTypesFactoryBean - Class in org.grails.plugins.web.mime
Creates the MimeType[] object that defines the configured mime types.
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.
MimeUtility - Interface in grails.web.mime
@author Graeme Rocher
mimeUtility(MimeTypesConfiguration.MimeTypesHolder) - Method in MimeTypesConfiguration

N

O

P

parse(String, MimeType) - Method in AcceptHeaderParser
Parses an Accept header into an ordered array of MimeType definitions
parse(String, MimeType) - Method in DefaultAcceptHeaderParser

Q

QualityComparator - Class in org.grails.web.mime

R

resolveAllFormat(def, LinkedHashMap<String, Object>) - Method in MimeTypesApiSupport
implementation for resolving "all" format
resolveRequestMimeType(GrailsWebRequest) - Method in DefaultMimeTypeResolver
Resolve the grails.web.mime.MimeType to be used for the request, typically established from the CONTENT_TYPE header
resolveResponseMimeType(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

V

W

withFormat(HttpServletRequest, Closure) - Method in HttpServletRequestExtension
withFormat(HttpServletResponse, Closure) - Method in HttpServletResponseExtension
Allows for the response.withFormat { } syntax
withFormat(HttpServletResponse, Closure<T>) - Method in MimeTypesApiSupport
withFormatInternal(def, 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 _