Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.groovy.grails.plugins.web.api
[Groovy] Class MimeTypesApiSupport

    java.lang.Object
      org.codehaus.groovy.grails.plugins.web.api.MimeTypesApiSupport

    class MimeTypesApiSupport
    extends java.lang.Object

Support class for dealing with calls to withFormat.

Authors:
  Graeme Rocher

Since:
  2.0

Method Summary
`java.util.Map` | `getDefinedFormats(groovy.lang.Closure callable)`
`java.lang.Object` | `withFormat(javax.servlet.http.HttpServletRequest request, groovy.lang.Closure callable)`
`java.lang.Object` | `withFormat(javax.servlet.http.HttpServletResponse response, groovy.lang.Closure callable)`
`protected java.lang.Object` | `withFormatInternal(java.lang.Object formatProvider, java.util.Map formats)`

Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()

Method Detail

### getDefinedFormats

    java.util.Map getDefinedFormats(groovy.lang.Closure callable)

### withFormat

    java.lang.Object withFormat(javax.servlet.http.HttpServletRequest request, groovy.lang.Closure callable)

### withFormat

    java.lang.Object withFormat(javax.servlet.http.HttpServletResponse response, groovy.lang.Closure callable)

### withFormatInternal

    protected java.lang.Object withFormatInternal(java.lang.Object formatProvider, java.util.Map formats)

Groovy Documentation