@groovy.transform.CompileStatic class DefaultMimeTypeResolver extends java.lang.Object implements MimeTypeResolver
Resolves the MimeType instance for a request
Constructor and description |
---|
DefaultMimeTypeResolver
() |
Type Params | Return Type | Name and description |
---|---|---|
|
MimeType |
resolveRequestMimeType(GrailsWebRequest webRequest) Resolve the MimeType to be used for the request, typically established from the CONTENT_TYPE header |
|
MimeType |
resolveResponseMimeType(GrailsWebRequest webRequest) Resolve the MimeType to be used for the response, typically established from the ACCEPT header |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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() |
Resolve the MimeType to be used for the request, typically established from the CONTENT_TYPE header
Resolve the MimeType to be used for the response, typically established from the ACCEPT header