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

AbstractGrailsView - Class in org.grails.web.servlet.view
A view applied to a Grails application that ensures an appropriate web request is bound
ACCEPT_CHARSET - Field in HttpHeaders
ACCEPT_ENCODING - Field in HttpHeaders
ACCEPT - Field in HttpHeaders
ACCEPT_LANGUAGE - Field in HttpHeaders
ACCEPT_RANGES - Field in HttpHeaders
ACCEPT_VERSION - Field in HttpHeaders
accumulate(java.lang.String, java.lang.Object) - Method in JSONObject
Accumulate values under a key.
ActionResultTransformer - Interface in org.grails.web.servlet.mvc
Interface for classes which transform the result of an action.
add_escapes(java.lang.String) - Method in ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
add(int, java.lang.Object) - Method in JSONArray
addAll(int, java.util.Collection) - Method in JSONArray
addDataBindingSourceCreator(org.grails.databinding.bindingsource.DataBindingSourceCreator) - Method in DataBindingSourceRegistry
Adds a new DataBindingSourceCreator to the registry
addEscapes(java.lang.String) - Method in TokenMgrError
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
addParameterListener(org.grails.web.servlet.mvc.ParameterCreationListener) - Method in GrailsWebRequest
addParametersFrom(grails.web.servlet.mvc.GrailsParameterMap) - Method in GrailsParameterMap
addParametersFrom(java.util.Map) - Method in GrailsWebRequest
addToRegisteredObjects(java.lang.Class, R) - Method in ClassAndMimeTypeRegistry
addViewPrefix(java.lang.String, java.lang.String) - Method in WebUtils
adjustBeginLineColumn(int, int) - Method in SimpleCharStream
Method to adjust line and column numbers for the start of a token.
AGE - Field in HttpHeaders
ALL - Field in MimeType
ALLOW - Field in HttpHeaders
append(groovy.lang.Writable) - Method in JSONWriter
append(java.lang.String) - Method in PathCapturingJSONWriterWrapper
append(groovy.lang.Writable) - Method in PrettyPrintJSONWriter
applicationContext - Property in ServletEnvironmentGrailsApplicationDiscoveryStrategy
areFileExtensionsEnabled() - Method in WebUtils
Returns the value of the "grails.mime.file.extensions" setting configured in application.groovy
array() - Method in JSONWriter
Begin appending a new array.
ARRAY - Enum Constant in JSONWriter.Mode
array() - Method in PathCapturingJSONWriterWrapper
array() - Method in PrettyPrintJSONWriter
assemble(java.lang.Class, java.util.Map) - Method in StructuredDateEditor
assemble(java.lang.Class, java.util.Map) - Method in StructuredPropertyEditor
Assemble and bind a property value from the specified fieldValues and the given type
ASYNC_REQUEST_URI_ATTRIBUTE - Field in WebUtils
ATOM_XML - Field in MimeType
attribute(java.lang.String, java.lang.String) - Method in XMLStreamWriter
AUTHORIZATION - Field in HttpHeaders

B

back() - Method in JSONTokener
Back up one character.
backup(int) - Method in SimpleCharStream
Backup a number of characters.
BEAN_NAME - Field in CompositeViewResolver
BEAN_NAME - Field in DataBindingSourceRegistry
BEAN_NAME - Field in FilteringCodecsByContentTypeSettings
BEAN_NAME - Field in MimeType
The bean name used to store the mime type definitions
BEAN_NAME - Field in MimeTypeResolver
beginColumn - Field in Token
The column number of the first character of this Token.
beginLine - Field in Token
The line number of the first character of this Token.
BeginToken() - Method in SimpleCharStream
Start.
bindMockWebRequest(javax.servlet.ServletContext, org.springframework.mock.web.MockHttpServletRequest, org.springframework.mock.web.MockHttpServletResponse) - Method in GrailsWebMockUtil
BoundedCharsAsEncodedBytesCounter - Class in org.grails.web.util
Counts chars encoded as bytes up to a certain limit (capacity of byte buffer).
BoundedCharsAsEncodedBytesCounter(int, java.lang.String) - Constructor in BoundedCharsAsEncodedBytesCounter
bufcolumn - Field in SimpleCharStream
buffer - Field in SimpleCharStream
bufline - Field in SimpleCharStream
bufpos - Field in SimpleCharStream
Position in buffer.

C

CACHE_CONTROL - Field in HttpHeaders
characters(java.lang.String) - Method in PrettyPrintXMLStreamWriter
characters(java.lang.String) - Method in XMLStreamWriter
ClassAndMimeTypeRegistry - Class in org.grails.web.util
Abstract class for class that maintains a registry of mappings MimeType,Class and a particular object type.
ClassAndMimeTypeRegistry.1 - Class in org.grails.web.util
ClassAndMimeTypeRegistry.1() - Constructor in ClassAndMimeTypeRegistry.1
ClassAndMimeTypeRegistry() - Constructor in ClassAndMimeTypeRegistry
cleanupIncludeRequestAttributes(javax.servlet.http.HttpServletRequest, Map<String,Object>) - Method in WebUtils
clear() - Method in DefaultGroovyPagesUriService
clear() - Method in GrailsFlashScope
clear() - Method in GroovyPagesUriService
clear() - Method in GroovyPagesUriSupport
clear() - Method in JSONArray
clear() - Method in JSONObject
clearGrailsWebRequest() - Method in WebUtils
Removes any GrailsWebRequest instance from the current request.
clone() - Method in GrailsParameterMap
clone() - Method in JSONArray
collectionToString(java.util.Collection) - Method in JSONObject
column - Field in SimpleCharStream
comma - Field in JSONWriter
The comma flag determines if a comma should be output before the next value.
comma() - Method in PathCapturingJSONWriterWrapper
CompositeEditor - Class in org.grails.web.binding
Authors:
Graeme Rocher
CompositeEditor(java.beans.PropertyEditor) - Constructor in CompositeEditor
CompositeViewResolver - Class in org.grails.web.servlet.view
Performs the job of iterating across registered view resolvers and returning the first matching view similar to the hard coded behavior in DispatcherServlet
CompositeViewResolver() - Constructor in CompositeViewResolver
CONFIG_PROPERTY_CODEC_FOR_CONTENT_TYPE - Field in FilteringCodecsByContentTypeSettings
CONNECTION - Field in HttpHeaders
contains(java.lang.Object) - Method in JSONArray
containsAll(java.util.Collection) - Method in JSONArray
containsKey(java.lang.Object) - Method in GrailsFlashScope
containsKey(java.lang.Object) - Method in JSONObject
containsValue(java.lang.Object) - Method in GrailsFlashScope
containsValue(java.lang.Object) - Method in JSONObject
CONTENT_DISPOSITION - Field in HttpHeaders
CONTENT_ENCODING - Field in HttpHeaders
CONTENT_LANGUAGE - Field in HttpHeaders
CONTENT_LENGTH - Field in HttpHeaders
CONTENT_LOCATION - Field in HttpHeaders
CONTENT_MD5 - Field in HttpHeaders
CONTENT_RANGE - Field in HttpHeaders
CONTENT_TYPE - Field in HttpHeaders
CONTENT - Enum Constant in XMLStreamWriter.Mode
ControllerExecutionException - Class in org.grails.web.servlet.mvc.exceptions
Throw when an exception occurs during controller execution
ControllerExecutionException(java.lang.Throwable) - Constructor in ControllerExecutionException
ControllerMethod - Annotation Type in grails.web.controllers
A marker annotation for methods added to a class that are for persistence purposes
COOKIE - Field in HttpHeaders
createCacheKey(java.lang.Class, grails.web.mime.MimeType) - Method in ClassAndMimeTypeRegistry
createCollectionDataBindingSource(grails.web.mime.MimeType, java.lang.Class, java.lang.Object) - Method in DataBindingSourceCreator
Creates a CollectionDataBindingSource suitable for binding bindingSource to bindingTarget
createCollectionDataBindingSource(grails.web.mime.MimeType, java.lang.Class, java.lang.Object) - Method in DataBindingSourceRegistry
Locates a CollectionDataBindingSource for the given MimeType and binding target
createDataBindingSource(grails.web.mime.MimeType, java.lang.Class, java.lang.Object) - Method in DataBindingSourceCreator
Creates a DataBindingSource suitable for binding bindingSource to bindingTarget
createDataBindingSource(grails.web.mime.MimeType, java.lang.Class, java.lang.Object) - Method in DataBindingSourceRegistry
Locates a DataBindingSource for the given MimeType and binding target
createDefaults() - Method in MimeType
Creates the default MimeType configuration if none exists in Config.groovy
createGrailsWebRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.ServletContext) - Method in AbstractGrailsView
curChar - Field in JsonParserTokenManager
currentApplication() - Method in GrailsWebUtil
Returns:
The currently bound GrailsApplication instance
currentConfiguration() - Method in GrailsWebUtil
Returns:
The currently bound GrailsApplication instance
currentRequestAttributes() - Method in WebAttributes
currentToken - Field in ParseException
This is the last token that has been consumed successfully.

D

DataBindingSourceCreationException - Class in org.grails.databinding.bindingsource
Thrown if an unrecoverable problem occurs creating a DataBindingSource.
DataBindingSourceCreationException(java.lang.Throwable) - Constructor in DataBindingSourceCreationException
DataBindingSourceCreator - Interface in org.grails.databinding.bindingsource
A factory for DataBindingSource instances
DataBindingSourceRegistry - Interface in org.grails.web.databinding.bindingsource
Responsible for locating DataBindingSourceCreator instances and using them to create DataBindingSource instances
DATE - Field in HttpHeaders
dateToString(java.util.Date) - Method in JSONObject
debugStream - Field in JsonParserTokenManager
Debug output.
DEFAULT_ENCODING - Field in GrailsWebUtil
DEFAULT_INDENT_STR - Field in PrettyPrintJSONWriter
DEFAULT_INDENT_STR - Field in PrettyPrintXMLStreamWriter
DEFAULT_NAMESPACE - Field in DefaultGrailsApplicationAttributes
DEFAULT_REQUEST_ENCODING - Field in DefaultRequestStateLookupStrategy
DefaultGrailsApplicationAttributes - Class in org.grails.web.servlet
Holds knowledge about how to obtain certain attributes from either the ServletContext or the HttpServletRequest instance.
DefaultGrailsApplicationAttributes(javax.servlet.ServletContext) - Constructor in DefaultGrailsApplicationAttributes
DefaultGroovyPagesUriService - Class in org.grails.web.pages
Provides services for resolving URIs.
DefaultRequestStateLookupStrategy - Class in org.grails.web.servlet.mvc
Default implementation that uses the web request to obtain information about the currently executing request.
DefaultRequestStateLookupStrategy(org.grails.web.servlet.mvc.GrailsWebRequest) - Constructor in DefaultRequestStateLookupStrategy
dehexchar(char) - Method in JSONTokener
Get the hex value of a character (base16).
disable_tracing() - Method in JSONParser
Disable tracing.
DISPATCH_ACTION_PARAMETER - Field in WebUtils
DONE - Enum Constant in JSONWriter.Mode
Done() - Method in SimpleCharStream
Reset buffer when finished.

E

EMPTY_ARGS - Field in GrailsParameterMap
ENABLE_FILE_EXTENSIONS - Field in WebUtils
enable_tracing() - Method in JSONParser
Enable tracing.
encodeToWriter(java.lang.CharSequence, java.io.Writer) - Method in JSONObject
end(Mode, char) - Method in JSONWriter
End something.
end(Mode, char) - Method in PathCapturingJSONWriterWrapper
end(Mode, char) - Method in PrettyPrintJSONWriter
end() - Method in PrettyPrintXMLStreamWriter
end() - Method in XMLStreamWriter
endArray() - Method in JSONWriter
End an array.
endArray() - Method in PathCapturingJSONWriterWrapper
endArray() - Method in PrettyPrintJSONWriter
endColumn - Field in Token
The column number of the last character of this Token.
endLine - Field in Token
The line number of the last character of this Token.
endObject() - Method in JSONWriter
End an object.
endObject() - Method in PathCapturingJSONWriterWrapper
endObject() - Method in PrettyPrintJSONWriter
endStartTag() - Method in PrettyPrintXMLStreamWriter
endStartTag() - Method in XMLStreamWriter
ensureCapacity(int) - Method in JSONArray
entrySet() - Method in GrailsFlashScope
entrySet() - Method in JSONObject
eol - Field in ParseException
The end of line string for this machine.
equals(java.lang.Object) - Method in JSONArray
If the passed object is a JSONArray, then the underlying collection must be equal.
equals(java.lang.Object) - Method in JSONObject
equals(java.lang.Object) - Method in MimeType
ERRORS_PREFIX - Field in GrailsFlashScope
ErrorsViewStackTracePrinter - Class in org.grails.web.errors
Customized Stack trace output for the errors view.
ErrorsViewStackTracePrinter(org.grails.core.io.ResourceLocator) - Constructor in ErrorsViewStackTracePrinter
ETAG - Field in HttpHeaders
EXCEPTION_ATTRIBUTE - Field in WebUtils
ExpandBuff(boolean) - Method in SimpleCharStream
EXPECT - Field in HttpHeaders
expectedTokenSequences - Field in ParseException
Each entry in this array is an array of integers.
EXPIRES - Field in HttpHeaders
exposeIncludeRequestAttributes(javax.servlet.http.HttpServletRequest) - Method in WebUtils
exposeRequestAttributesAndReturnOldValues(javax.servlet.http.HttpServletRequest, Map<String,?>) - Method in WebUtils
EXTENSION - Field in GroovyPagesUriSupport
extension - Property in MimeType

F

FillBuff() - Method in SimpleCharStream
FilteringCodecsByContentTypeSettings - Class in org.grails.web.pages
FilteringCodecsByContentTypeSettings(grails.core.GrailsApplication) - Constructor in FilteringCodecsByContentTypeSettings
findApplication(javax.servlet.ServletContext) - Method in WebUtils
Looks up the GrailsApplication instance
findApplicationContext() - Method in ServletEnvironmentGrailsApplicationDiscoveryStrategy
findApplicationContext(javax.servlet.ServletContext) - Method in WebUtils
Locates the ApplicationContext, returns null if not found
findGrailsApplication() - Method in ServletEnvironmentGrailsApplicationDiscoveryStrategy
findMatchingObjectForMimeType(grails.web.mime.MimeType, java.lang.Object) - Method in ClassAndMimeTypeRegistry
findRegisteredObjectForType(java.lang.Class, grails.web.mime.MimeType) - Method in ClassAndMimeTypeRegistry
FlashScope - Interface in grails.web.mvc
Represents flash scope and allows a flash scope map to be set to the next state.
flushBuffer() - Method in IncludeResponseWrapper
FORM - Field in MimeType
formatCodeSnippetEnd(org.springframework.core.io.Resource, int) - Method in ErrorsViewStackTracePrinter
formatCodeSnippetErrorLine(int, java.lang.Object) - Method in ErrorsViewStackTracePrinter
formatCodeSnippetLine(int, java.lang.Object) - Method in ErrorsViewStackTracePrinter
formatCodeSnippetStart(org.springframework.core.io.Resource, int) - Method in ErrorsViewStackTracePrinter
FORWARDED - Field in HttpHeaders
FROM - Field in HttpHeaders
fromQueryString(java.lang.String) - Method in WebUtils
Takes a query string and returns the results as a map where the values are either a single entry or a list of values

G

generateParseException() - Method in JSONParser
Generate ParseException.
get(java.lang.Object) - Method in GrailsFlashScope
get(java.lang.Object) - Method in GrailsParameterMap
get(int) - Method in JSONArray
Get the object value associated with an index.
get(java.lang.Object) - Method in JSONObject
getAbsoluteTemplateURI(java.lang.String, boolean) - Method in GroovyPagesUriService
getAbsoluteTemplateURI(java.lang.String, boolean) - Method in GroovyPagesUriSupport
Used to resolve template names that are not relative to a controller.
getAbsoluteViewURI(java.lang.String) - Method in GroovyPagesUriService
getAbsoluteViewURI(java.lang.String) - Method in GroovyPagesUriSupport
Obtains a view URI that is not relative to any given controller
getActionName(java.lang.String) - Method in DefaultRequestStateLookupStrategy
getActionName() - Method in GrailsRequestContext
Returns:
The Action name
getActionName() - Method in GrailsRequestStateLookupStrategy
The action name
getActionName() - Method in GrailsWebRequest
Returns:
the actionName
getActionName() - Method in WebAttributes
Obtains the currently executing action name
getActionName() - Method in WebRequestDelegatingRequestContext
getApplicationContext() - Method in DefaultGrailsApplicationAttributes
getApplicationContext() - Method in GrailsRequestContext
The ApplicationContext instance.
getApplicationContext() - Method in GrailsWebRequest
Obtains the ApplicationContext object.
getApplicationContext() - Method in ServletAttributes
Obtains the ApplicationContext instance
getApplicationContext() - Method in WebRequestDelegatingRequestContext
getApplicationUri(javax.servlet.ServletRequest) - Method in DefaultGrailsApplicationAttributes
deprecated:
Use instead
getApplicationUri(javax.servlet.ServletRequest) - Method in GrailsApplicationAttributes
deprecated:
Use instead
getAttribute(java.lang.String) - Method in GrailsHttpSession
getAttributeNames() - Method in GrailsHttpSession
getAttributes() - Method in GrailsWebRequest
Returns:
The GrailsApplicationAttributes instance
getBaseUrl() - Method in GrailsWebRequest
getBeginColumn() - Method in SimpleCharStream
Get token beginning column number.
getBeginLine() - Method in SimpleCharStream
Get token beginning line number.
getBoolean(int) - Method in JSONArray
Get the boolean value associated with an index.
getBoolean(java.lang.String) - Method in JSONObject
Get the boolean value associated with a key.
getCapacity() - Method in BoundedCharsAsEncodedBytesCounter
getCause() - Method in JSONException
getCharacterEncoding() - Method in DefaultRequestStateLookupStrategy
getCharacterEncoding() - Method in GrailsRequestStateLookupStrategy
The character encoding of the request
getClassName() - Method in GrailsWrappedRuntimeException
Returns:
Returns the className.
getCodeSnippet() - Method in GrailsWrappedRuntimeException
Returns:
Returns the line.
getConfigSettings(grails.config.Config) - Method in FilteringCodecsByContentTypeSettings
getConfiguredMimeTypes() - Method in MimeType
Returns:
An array of MimeTypes
getContent() - Method in IncludedContent
Returns the included content
getContent(java.lang.String) - Method in IncludeResponseWrapper
getContentAsCharArray() - Method in IncludedContent
getContentType(java.lang.String, java.lang.String) - Method in GrailsWebUtil
getContentType() - Method in IncludedContent
Returns the included content type (default is text/html;charset=UTF=8)
getContentType() - Method in IncludeResponseWrapper
getContextPath() - Method in DefaultRequestStateLookupStrategy
getContextPath() - Method in GrailsRequestStateLookupStrategy
Obtains the context path to use from the request
getContextPath() - Method in GrailsWebRequest
Returns the context path of the request.
getController(javax.servlet.ServletRequest) - Method in DefaultGrailsApplicationAttributes
getController(javax.servlet.ServletRequest) - Method in GrailsApplicationAttributes
Returns:
The controller for the request
getControllerActionUri(javax.servlet.ServletRequest) - Method in DefaultGrailsApplicationAttributes
getControllerActionUri(javax.servlet.ServletRequest) - Method in GrailsApplicationAttributes
Parameters:
request
getControllerClass() - Method in GrailsWebRequest
Returns:
the controllerClass
getControllerClass() - Method in WebAttributes
Obtains the currently executing controller class
getControllerFromRequest(javax.servlet.http.HttpServletRequest) - Method in GrailsWebUtil
Obtains the currently executing controller from the given request if any.
getControllerName() - Method in DefaultRequestStateLookupStrategy
getControllerName() - Method in GrailsRequestContext
Returns:
The Controller Name
getControllerName() - Method in GrailsRequestStateLookupStrategy
The controller name
getControllerName() - Method in GrailsWebRequest
Returns:
the controllerName
getControllerName() - Method in WebAttributes
Obtains the currently executing controller name
getControllerName() - Method in WebRequestDelegatingRequestContext
getControllerNamespace() - Method in DefaultRequestStateLookupStrategy
getControllerNamespace() - Method in GrailsRequestStateLookupStrategy
The controller namespace
getControllerNamespace() - Method in GrailsWebRequest
Returns:
the controllerNamespace
getControllerNamespace() - Method in WebAttributes
Obtains the currently executing controller namespace
getControllerUri(javax.servlet.ServletRequest) - Method in DefaultGrailsApplicationAttributes
getControllerUri(javax.servlet.ServletRequest) - Method in GrailsApplicationAttributes
Parameters:
request
getCountingWriter() - Method in BoundedCharsAsEncodedBytesCounter
getCreationTime() - Method in GrailsHttpSession
getCurrentRequest() - Method in GrailsWebRequest
Returns:
The currently executing request
getCurrentResponse() - Method in GrailsWebRequest
getCurrentStrackReference() - Method in PathCapturingJSONWriterWrapper
getDate(java.lang.String) - Method in GrailsParameterMap
Obtains a date for the parameter name using the default format
getDeployedAbsoluteViewURI(java.lang.String) - Method in GroovyPagesUriService
getDeployedAbsoluteViewURI(java.lang.String) - Method in GroovyPagesUriSupport
Obtains a view URI when deployed within the /WEB-INF/grails-app/views context
getDeployedViewURI(java.lang.String, java.lang.String) - Method in DefaultGroovyPagesUriService
getDeployedViewURI(java.lang.String, java.lang.String) - Method in GroovyPagesUriService
getDeployedViewURI(java.lang.String, java.lang.String) - Method in GroovyPagesUriSupport
Obtains a view URI when deployed within the /WEB-INF/grails-app/views context
getDouble(int) - Method in JSONArray
Get the double value associated with an index.
getDouble(java.lang.String) - Method in JSONObject
Get the double value associated with a key.
getEncoderForContentType(java.lang.String) - Method in FilteringCodecsByContentTypeSettings
getEncoding() - Method in BoundedCharsAsEncodedBytesCounter
getEncodingStateRegistry() - Method in GrailsWebRequest
getEndColumn() - Method in SimpleCharStream
Get token end column number.
getEndLine() - Method in SimpleCharStream
Get token end line number.
getErrors(javax.servlet.ServletRequest) - Method in DefaultGrailsApplicationAttributes
getErrors(javax.servlet.ServletRequest) - Method in GrailsApplicationAttributes
Parameters:
request
getFilteringCodec() - Method in GrailsWebRequest
getFilteringEncoder() - Method in GrailsWebRequest
getFlash() - Method in WebAttributes
Obtains the Grails FlashScope instance
getFlashScope(javax.servlet.ServletRequest) - Method in DefaultGrailsApplicationAttributes
getFlashScope(javax.servlet.ServletRequest) - Method in GrailsApplicationAttributes
Retrieves the flash scope instance for the given requeste
getFlashScope() - Method in GrailsWebRequest
Returns:
The FlashScope instance for the current request
getFormatFromURI(java.lang.String, grails.web.mime.MimeType) - Method in WebUtils
Obtains the format from the URI.
getForwardURI(javax.servlet.http.HttpServletRequest) - Method in WebUtils
Obtains the forwardURI from the request, since Grails uses a forwarding technique for URL mappings.
getGrailsApplication() - Method in DefaultGrailsApplicationAttributes
getGrailsApplication() - Method in WebAttributes
Obtains the GrailsApplication instance
getGrailsAttributes() - Method in WebAttributes
Obtains the GrailsApplicationAttributes instance
getGroovyPagesUriService() - Method in DefaultGrailsApplicationAttributes
getGroovyPagesUriService() - Method in GrailsApplicationAttributes
Returns:
The GroovyPageUriService instance
getHttpMethod() - Method in DefaultRequestStateLookupStrategy
getHttpMethod() - Method in GrailsRequestStateLookupStrategy
Returns:
The HTTP method
getId() - Method in GrailsHttpSession
getId() - Method in GrailsWebRequest
getIdentifier() - Method in GrailsParameterMap
Returns:
The identifier in the request
GetImage() - Method in SimpleCharStream
Get token literal value.
getInnerViewResolver() - Method in LayoutViewResolver
getInt(int) - Method in JSONArray
Get the int value associated with an index.
getInt(java.lang.String) - Method in JSONObject
Get the int value associated with a key.
getJSONArray(int) - Method in JSONArray
Get the JSONArray associated with an index.
getJSONArray(java.lang.String) - Method in JSONObject
Get the JSONArray value associated with a key.
getJSONObject(int) - Method in JSONArray
Get the JSONObject associated with an index.
getJSONObject(java.lang.String) - Method in JSONObject
Get the JSONObject value associated with a key.
getLastAccessedTime() - Method in GrailsHttpSession
getLineNumber() - Method in GrailsWrappedRuntimeException
Returns:
Returns the lineNumber.
getLineNumberInfo(java.lang.Throwable, int) - Method in ErrorsViewStackTracePrinter
getLogicalControllerName(groovy.lang.GroovyObject) - Method in DefaultGroovyPagesUriService
getLogicalControllerName(groovy.lang.GroovyObject) - Method in GroovyPagesUriSupport
getLong(int) - Method in JSONArray
Get the long value associated with an index.
getLong(java.lang.String) - Method in JSONObject
Get the long value associated with a key.
getMaxInactiveInterval() - Method in GrailsHttpSession
getMessage() - Method in GrailsWrappedRuntimeException
getMessage() - Method in ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in TokenMgrError
You can also modify the body of this method to customize your error messages.
getMessageSource() - Method in DefaultGrailsApplicationAttributes
getMessageSource() - Method in GrailsApplicationAttributes
Returns:
The MessageSource instance
getMimeTypes() - Method in ClassAndMimeTypeRegistry.1
getMimeTypes() - Method in MimeTypeProvider
Returns:
The MimeType instances provided by this object
getNextToken() - Method in JSONParser
Get the next Token.
getNextToken() - Method in JsonParserTokenManager
Get the next Token.
getNoSuffixViewURI(groovy.lang.GroovyObject, java.lang.String) - Method in DefaultGrailsApplicationAttributes
getNoSuffixViewURI(java.lang.String, java.lang.String) - Method in DefaultGroovyPagesUriService
getNoSuffixViewURI(groovy.lang.GroovyObject, java.lang.String) - Method in GrailsApplicationAttributes
getNoSuffixViewURI(java.lang.String, java.lang.String) - Method in GroovyPagesUriService
getNoSuffixViewURI(java.lang.String, java.lang.String) - Method in GroovyPagesUriSupport
Obtains a view URI of the given controller name and view name without the suffix
getNow() - Method in FlashScope
Returns the current state of flash scope, to be used if you don't want to include variables in the next request
getNow() - Method in GrailsFlashScope
getOptionalFields() - Method in StructuredDateEditor
getOptionalFields() - Method in StructuredPropertyEditor
Returns:
The optional fields
getOriginalParams() - Method in GrailsWebRequest
Returns:
The Grails params object
getOut(javax.servlet.http.HttpServletRequest) - Method in DefaultGrailsApplicationAttributes
getOut(javax.servlet.http.HttpServletRequest) - Method in GrailsApplicationAttributes
Holds the current response write for the request
getOut() - Method in GrailsRequestContext
The response writer.
getOut() - Method in GrailsWebRequest
Returns:
the out
getOut() - Method in WebRequestDelegatingRequestContext
getOutputStream() - Method in IncludeResponseWrapper
getOutputStream() - Method in OutputAwareHttpServletResponse
getPagesTemplateEngine() - Method in DefaultGrailsApplicationAttributes
getPagesTemplateEngine() - Method in GrailsApplicationAttributes
Returns:
Retrieves the shared GSP template engine
getParameterMap() - Method in GrailsWebRequest
Overriden to return the GrailsParameterMap instance,
getParams() - Method in GrailsRequestContext
The params object.
getParams() - Method in GrailsWebRequest
Returns:
The Grails params object
getParams() - Method in WebAttributes
Obtains the Grails parameter map
getParams() - Method in WebRequestDelegatingRequestContext
getPluginContextPath(javax.servlet.http.HttpServletRequest) - Method in DefaultGrailsApplicationAttributes
getPluginContextPath(javax.servlet.http.HttpServletRequest) - Method in GrailsApplicationAttributes
Retrieves the plugin context path for the current request.
getPluginContextPath() - Method in WebAttributes
Obtains the pluginContextPath
getPropertyEditorRegistry() - Method in GrailsWebRequest
Obtains the PropertyEditorRegistry instance.
getPropertyEditors() - Method in CompositeEditor
getQuality() - Method in MimeType
Returns:
The quality of the Mime type
getQualityAsNumber() - Method in MimeType
Returns:
The quality in BigDecimal form
getRedirectURL() - Method in IncludedContent
Returns the URL of a redirect if a redirect was issue in the Include otherwise it returns null if there was no redirect.
getRedirectURL() - Method in IncludeResponseWrapper
getRegisteredObjects(java.lang.Class) - Method in ClassAndMimeTypeRegistry
getRequest() - Method in GrailsParameterMap
Returns:
Returns the request.
getRequest() - Method in GrailsRequestContext
The request object.
getRequest() - Method in ServletAttributes
getRequest() - Method in WebRequestDelegatingRequestContext
getRequestURI() - Method in GrailsRequestContext
Returns:
The Request URI
getRequestURI() - Method in WebRequestDelegatingRequestContext
getRequestURIForGrailsDispatchURI(javax.servlet.http.HttpServletRequest) - Method in WebUtils
The Grails dispatch servlet maps URIs like /app/grails/example/index.dispatch.
getRequiredFields() - Method in StructuredDateEditor
getRequiredFields() - Method in StructuredPropertyEditor
Returns:
The required fields
getResponse() - Method in GrailsRequestContext
The response object.
getResponse() - Method in ServletAttributes
Obtains the HttpServletResponse instance
getResponse() - Method in WebRequestDelegatingRequestContext
getServletContext() - Method in DefaultGrailsApplicationAttributes
getServletContext() - Method in GrailsApplicationAttributes
Retrieves the servlet context instance
getServletContext() - Method in GrailsHttpSession
getServletContext() - Method in GrailsRequestContext
The servletContext object.
getServletContext() - Method in GrailsWebRequest
Returns:
The ServletContext instance
getServletContext() - Method in ServletAttributes
Obtains the ServletContext instance
getServletContext() - Method in ServletContextHolder
getServletContext() - Method in WebRequestDelegatingRequestContext
getSession() - Method in GrailsRequestContext
The session object.
getSession() - Method in GrailsWebRequest
Returns:
The Grails session object
getSession() - Method in ServletAttributes
getSession() - Method in WebRequestDelegatingRequestContext
getSessionContext() - Method in GrailsHttpSession
@deprecated
See Also:
javax.servlet.http.HttpSession#getSessionContext()
getStackReference(int) - Method in PathCapturingJSONWriterWrapper
getStackTraceLines() - Method in GrailsWrappedRuntimeException
Returns:
Returns the stackTrace lines
getStackTraceText() - Method in GrailsWrappedRuntimeException
Returns:
Returns the stackTrace.
getStatus() - Method in IncludeResponseWrapper
getString(int) - Method in JSONArray
Get the string associated with an index.
getString(java.lang.String) - Method in JSONObject
Get the string associated with a key.
GetSuffix(int) - Method in SimpleCharStream
Get the suffix.
getTabSize(int) - Method in SimpleCharStream
getTargetType() - Method in DataBindingSourceCreator
Returns:
The target type of this creator
getTemplate() - Method in AbstractGrailsView
getTemplateUri(java.lang.CharSequence, javax.servlet.ServletRequest) - Method in DefaultGrailsApplicationAttributes
getTemplateURI(groovy.lang.GroovyObject, java.lang.String) - Method in DefaultGroovyPagesUriService
getTemplateUri(java.lang.CharSequence, javax.servlet.ServletRequest) - Method in GrailsApplicationAttributes
Parameters:
templateName
getTemplateURI(groovy.lang.GroovyObject, java.lang.String, boolean) - Method in GroovyPagesUriService
getTemplateURI(java.lang.String, java.lang.String, boolean) - Method in GroovyPagesUriSupport
Obtains the URI to a template using the controller name and template name
getToken(int) - Method in JSONParser
Get the specific Token.
getUriFromRequest(javax.servlet.http.HttpServletRequest) - Method in GrailsWebUtil
Retrieves the URI from the request from either the include attribute or the request.getRequestURI() method.
getValue(java.lang.String) - Method in GrailsHttpSession
@deprecated
See Also:
javax.servlet.http.HttpSession#getValue(java.lang.String)
getValue() - Method in Token
An optional attribute value of the Token.
getValueNames() - Method in GrailsHttpSession
@deprecated
See Also:
javax.servlet.http.HttpSession#getValueNames()
getVersion() - Method in MimeType
Returns:
The version of the Mime type
getViewUri(java.lang.String, javax.servlet.http.HttpServletRequest) - Method in DefaultGrailsApplicationAttributes
getViewUri(java.lang.String, javax.servlet.http.HttpServletRequest) - Method in GrailsApplicationAttributes
Retrieves the uri of a named view
getViewURI(java.lang.String, java.lang.String) - Method in GroovyPagesUriService
Obtains a view name for the given controller name and template name
getViewURI(java.lang.String, java.lang.String) - Method in GroovyPagesUriSupport
Obtains a view URI of the given controller name and view name
getWebRequest() - Method in DefaultRequestStateLookupStrategy
getWebRequest() - Method in GrailsRequestStateLookupStrategy
Returns:
the current request
getWebRequest() - Method in WebAttributes
Obtains the currently executing web request
getWebRequest() - Method in WebRequestDelegatingRequestContext
Retrieves the webRequest object.
getWrappedResponse() - Method in GrailsWebRequest
getWrappedResponse() - Method in WrappedResponseHolder
Return the HttpServletResponse currently bound to the thread.
getWriter() - Method in IncludeResponseWrapper
getWriter() - Method in OutputAwareHttpServletResponse
GRAILS_DISPATCH_EXTENSION - Field in WebUtils
GRAILS_SERVLET_PATH - Field in WebUtils
GrailsApplicationAttributes - Interface in org.grails.web.util
Defines the names of and methods to retrieve Grails specific request and servlet attributes.
GrailsFlashScope - Class in org.grails.web.servlet
Grails implementation of Flash scope (
See Also:
FlashScope
GrailsFlashScope(boolean) - Constructor in GrailsFlashScope
GrailsHttpSession - Class in grails.web.servlet.mvc
An adapter class that takes a regular HttpSession and allows you to access it like a Groovy map.
GrailsHttpSession(javax.servlet.http.HttpServletRequest) - Constructor in GrailsHttpSession
GrailsMVCException - Class in org.grails.web.servlet.mvc.exceptions
Thrown when an unrecoverable error occurred in the Grails MVC framework.
GrailsMVCException(java.lang.Throwable) - Constructor in GrailsMVCException
GrailsParameterMap - Class in grails.web.servlet.mvc
A parameter map class that allows mixing of request parameters and controller parameters.
GrailsParameterMap(javax.servlet.http.HttpServletRequest) - Constructor in GrailsParameterMap
Creates a GrailsParameterMap populating from the given request object
GrailsRequestContext - Interface in org.grails.web.servlet
Defines the methods and objects available during a Grails request context.
GrailsRequestStateLookupStrategy - Interface in org.grails.web.servlet.mvc
Strategy interface for obtaining details about the currently executing request
GrailsViewResolver - Interface in org.grails.web.servlet.view
GrailsWebMockUtil - Class in grails.util
Authors:
Jeff Brown
GrailsWebMockUtil() - Constructor in GrailsWebMockUtil
GrailsWebRequest - Class in org.grails.web.servlet.mvc
Encapsulates a Grails request.
GrailsWebRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.ServletContext, org.springframework.context.ApplicationContext) - Constructor in GrailsWebRequest
GrailsWebUtil - Class in grails.util
Utility methods for clients using the web framework.
GrailsWrappedRuntimeException - Class in org.grails.web.errors
Wraps a Grails RuntimeException and attempts to extract more relevent diagnostic messages from the stack trace.
GrailsWrappedRuntimeException(javax.servlet.ServletContext, java.lang.Throwable) - Constructor in GrailsWrappedRuntimeException
Parameters:
servletContext - The ServletContext instance
GroovyPagesUriService - Interface in grails.web.pages
Provides methods to lookup URIs of views and templates.
GroovyPagesUriSupport - Class in org.grails.web.pages
Methods to establish template names, paths and so on.

H

HAL_JSON - Field in MimeType
HAL_XML - Field in MimeType
has(java.lang.String) - Method in JSONObject
Determine if the JSONObject contains a specific key.
hashCode() - Method in JSONArray
hashCode() - Method in JSONObject
hashCode() - Method in MimeType
HOST - Field in HttpHeaders
HTML - Field in MimeType
HttpHeaders - Class in grails.web.http
Constants for HTTP headers.

I

ID_PARAMETER - Field in GrailsWebRequest
IDENTITY - Field in HttpHeaders
IF_MATCH - Field in HttpHeaders
IF_MODIFIED_SINCE - Field in HttpHeaders
IF_NONE_MATCH - Field in HttpHeaders
IF_RANGE - Field in HttpHeaders
IF_UNMODIFIED_SINCE - Field in HttpHeaders
image - Field in Token
The string image of the token.
inBuf - Field in SimpleCharStream
IncludedContent - Class in org.grails.web.util
Represents some content that has been used in an include request.
IncludedContent(java.lang.String) - Constructor in IncludedContent
IncludeResponseWrapper - Class in org.grails.web.util
Response wrapper used to capture the content of a response (such as within in an include).
IncludeResponseWrapper(javax.servlet.http.HttpServletResponse) - Constructor in IncludeResponseWrapper
indexOf(java.lang.Object) - Method in JSONArray
informParameterCreationListeners() - Method in GrailsWebRequest
Informs any parameter creation listeners.
INIT - Enum Constant in JSONWriter.Mode
INIT - Enum Constant in XMLStreamWriter.Mode
initialize(grails.core.GrailsApplication) - Method in FilteringCodecsByContentTypeSettings
input_stream - Field in JsonParserTokenManager
inputStream - Field in SimpleCharStream
invalidate() - Method in GrailsHttpSession
isActive() - Method in GrailsWebRequest
Whether the web request is still active
isAsync(javax.servlet.http.HttpServletRequest) - Method in WebUtils
Check whether the given request is a forward request
isCommitted() - Method in IncludeResponseWrapper
isEmpty() - Method in GrailsFlashScope
isEmpty() - Method in JSONArray
isEmpty() - Method in JSONObject
isError(javax.servlet.http.HttpServletRequest) - Method in WebUtils
Check whether the given request is a forward request
isFlowRequest() - Method in GrailsWebRequest
Returns true if the current executing request is a flow request
isForward(javax.servlet.http.HttpServletRequest) - Method in WebUtils
Check whether the given request is a forward request
isForwardOrInclude(javax.servlet.http.HttpServletRequest) - Method in WebUtils
Check whether the given request is an include or forward request
isInclude(javax.servlet.http.HttpServletRequest) - Method in WebUtils
Check whether the given request is an include request
isNew() - Method in GrailsHttpSession
isNull(int) - Method in JSONArray
Determine if the value is null.
isNull(java.lang.String) - Method in JSONObject
Determine if the value associated with the key is null or if there is no value.
isReady() - Method in IncludeResponseWrapper
isRenderView() - Method in GrailsWebRequest
Returns:
true if the view for this GrailsWebRequest should be rendered
isSkipFilteringCodec() - Method in GrailsWebRequest
Returns:
true if grails.views.filteringCodecForMimeType settings should be ignored for this request
isWriterReferenced() - Method in BoundedCharsAsEncodedBytesCounter
iterator() - Method in JSONArray

J

jj_nt - Field in JSONParser
Next token.
jjFillToken() - Method in JsonParserTokenManager
jjnewLexState - Field in JsonParserTokenManager
Lex State array.
jjstrLiteralImages - Field in JsonParserTokenManager
Token literal values.
join(java.lang.String) - Method in JSONArray
Make a string from the contents of this JSONArray.
JSON_API - Field in MimeType
JSON - Field in MimeType
JSONArray - Class in org.grails.web.json
A JSONArray is an ordered sequence of values.
JSONArray(java.util.Collection) - Constructor in JSONArray
Construct a JSONArray from a Collection.
JSONElement - Interface in org.grails.web.json
Base interface for all valid JSON Elements
JSONException - Class in org.grails.web.json
The JSONException is thrown by the JSON.org classes then things are amiss.
JSONException(java.lang.Throwable) - Constructor in JSONException
JSONObject - Class in org.grails.web.json
A JSONObject is an unordered collection of name/value pairs.
JSONObject(java.lang.String) - Constructor in JSONObject
Construct a JSONObject from a string.
JSONParser - Class in org.grails.web.json.parser
JSONParser(org.grails.web.json.parser.JsonParserTokenManager) - Constructor in JSONParser
Constructor with generated Token Manager.
JsonParserConstants - Interface in org.grails.web.json.parser
Token literal values and constants.
JsonParserTokenManager - Class in org.grails.web.json.parser
Token Manager.
JsonParserTokenManager(org.grails.web.json.parser.SimpleCharStream, int) - Constructor in JsonParserTokenManager
Constructor.
JSONTokener - Class in org.grails.web.json
A JSONTokener takes a source string and extracts characters and tokens from it.
JSONTokener(java.lang.String) - Constructor in JSONTokener
Construct a JSONTokener from a string.
JSONWriter - Class in org.grails.web.json
JSONWriter provides a quick and convenient way of producing JSON text.
JSONWriter.Mode - Enum in org.grails.web.json
Enumeration of the possible modes of the JSONWriter
JSONWriter(java.io.Writer) - Constructor in JSONWriter
Make a fresh JSONWriter.

K

KEEP_ALIVE - Field in HttpHeaders
key(java.lang.String) - Method in JSONWriter
Append a key.
KEY - Enum Constant in JSONWriter.Mode
key(java.lang.String) - Method in PathCapturingJSONWriterWrapper
key(java.lang.String) - Method in PrettyPrintJSONWriter
keys() - Method in JSONObject
Get an enumeration of the keys of the JSONObject.
keySet() - Method in GrailsFlashScope
keySet() - Method in JSONObject
kind - Field in Token
An integer that describes the kind of this token.

L

LAST_MODIFIED - Field in HttpHeaders
lastIndexOf(java.lang.Object) - Method in JSONArray
LAYOUT_ATTRIBUTE - Field in WebUtils
LayoutViewResolver - Interface in org.grails.web.servlet.view
A ViewResolver for resolving layouts
length() - Method in JSONArray
Get the number of elements in the JSONArray, included nulls.
length() - Method in JSONObject
Get the number of keys stored in the JSONObject.
LexicalError(boolean, int, int, int, java.lang.String, char) - Method in TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexStateNames - Field in JsonParserTokenManager
Lexer state names.
line - Field in SimpleCharStream
listIterator(int) - Method in JSONArray
localeResolver - Property in ParamsAwareLocaleChangeInterceptor
LOCATION - Field in HttpHeaders
lookup() - Method in GrailsWebRequest
Looks up the current Grails WebRequest instance
lookupApplication(javax.servlet.ServletContext) - Method in GrailsWebUtil
Looks up a GrailsApplication instance from the ServletContext.
lookupApplication(javax.servlet.ServletContext) - Method in WebUtils
Looks up the GrailsApplication instance
lookupFilteringEncoder() - Method in GrailsWebRequest
lookupHandlerInterceptors(javax.servlet.ServletContext) - Method in WebUtils
Looks up all of the HandlerInterceptor instances registered for the application
lookupSecondary() - Method in WebRequestServletHolder
lookupViewResolver(org.springframework.context.ApplicationContext) - Method in WebUtils
lookupWebRequestInterceptors(javax.servlet.ServletContext) - Method in WebUtils
Looks up all of the WebRequestInterceptor instances registered with the application

M

MAX_FORWARDS - Field in HttpHeaders
maxNextCharInd - Field in SimpleCharStream
MIME_VERSION - Field in HttpHeaders
MimeType - Class in grails.web.mime
Authors:
Graeme Rocher
MimeType(java.lang.String, java.lang.String, Map<String, String>) - Constructor in MimeType
MimeTypeProvider - Interface in grails.web.mime
Objects that expose a Mime Type.
MimeTypeResolver - Interface in grails.web.mime
Resolves the response format
MimeTypeUtils - Class in grails.web.mime
Utility methods for MimeType handling
MimeTypeUtils() - Constructor in MimeTypeUtils
mode - Field in JSONWriter
The current mode.
mode - Field in XMLStreamWriter
more() - Method in JSONTokener
Determine if the source string still contains characters that next() can consume.
MULTIPART_FORM - Field in MimeType

N

name - Property in MimeType
names() - Method in JSONObject
Produce a JSONArray containing the names of the elements of this JSONObject.
NEWLINE - Field in PrettyPrintJSONWriter
NEWLINE - Field in PrettyPrintXMLStreamWriter
newToken(int) - Method in Token
next() - Method in FlashScope
Sets the flash scope to the next state upon a new request
next() - Method in GrailsFlashScope
next(int) - Method in JSONTokener
Get the next n characters.
next - Field in Token
A reference to the next regular (non-special) token from the input stream.
nextClean() - Method in JSONTokener
Get the next char in the string, skipping whitespace and comments (slashslash, slashstar, and hash).
nextString(char) - Method in JSONTokener
Return the characters up to the next close quote character.
nextTo(java.lang.String) - Method in JSONTokener
Get the text up but not including one of the specified delimeter characters or the end of line, whichever comes first.
nextValue() - Method in JSONTokener
Get the next value.
numberToString(java.lang.Number) - Method in JSONObject
Produce a string from a number.

O

object() - Method in JSONWriter
Begin appending a new object.
OBJECT - Enum Constant in JSONWriter.Mode
object() - Method in PathCapturingJSONWriterWrapper
object() - Method in PrettyPrintJSONWriter
opt(int) - Method in JSONArray
Get the optional object value associated with an index.
opt(java.lang.String) - Method in JSONObject
Get an optional value associated with a key.
optBoolean(int, boolean) - Method in JSONArray
Get the optional boolean value associated with an index.
optBoolean(java.lang.String, boolean) - Method in JSONObject
Get an optional boolean associated with a key.
optDouble(int, double) - Method in JSONArray
Get the optional double value associated with an index.
optDouble(java.lang.String, double) - Method in JSONObject
Get an optional double associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optInt(int, int) - Method in JSONArray
Get the optional int value associated with an index.
optInt(java.lang.String, int) - Method in JSONObject
Get an optional int value associated with a key, or the default if there is no such key or if the value is not a number.
optJSONArray(int) - Method in JSONArray
Get the optional JSONArray associated with an index.
optJSONArray(java.lang.String) - Method in JSONObject
Get an optional JSONArray associated with a key.
optJSONObject(int) - Method in JSONArray
Get the optional JSONObject associated with an index.
optJSONObject(java.lang.String) - Method in JSONObject
Get an optional JSONObject associated with a key.
optLong(int, long) - Method in JSONArray
Get the optional long value associated with an index.
optLong(java.lang.String, long) - Method in JSONObject
Get an optional long value associated with a key, or the default if there is no such key or if the value is not a number.
optString(int, java.lang.String) - Method in JSONArray
Get the optional string associated with an index.
optString(java.lang.String, java.lang.String) - Method in JSONObject
Get an optional string associated with a key.
OutputAwareHttpServletResponse - Class in org.grails.web.servlet.mvc
Tracks whether getOutputStream() was called in order to prevent calls to getWriter() after getOutputStream() has been called
OutputAwareHttpServletResponse() - Constructor in OutputAwareHttpServletResponse

P

ParameterCreationListener - Interface in org.grails.web.servlet.mvc
A callback interface that is fired when the params object is created
parameters - Property in MimeType
paramName - Property in ParamsAwareLocaleChangeInterceptor
ParamsAwareLocaleChangeInterceptor - Class in org.grails.web.i18n
A LocaleChangeInterceptor instance that is aware of the Grails params object.
ParamsAwareLocaleChangeInterceptor() - Constructor in ParamsAwareLocaleChangeInterceptor
paramsCreated(grails.web.servlet.mvc.GrailsParameterMap) - Method in ParameterCreationListener
Fired when the params object is created
parse() - Method in JSONParser
ParseException - Class in org.grails.web.json.parser
This exception is thrown when parse errors are encountered.
ParseException(java.lang.String) - Constructor in ParseException
Constructor with message.
parseJSON() - Method in JSONParser
PATH_TO_VIEWS - Field in GroovyPagesUriSupport
PathCapturingJSONWriterWrapper - Class in org.grails.web.json
TODO Proof of concept Should capture the JSON Path to the current element
PathCapturingJSONWriterWrapper(org.grails.web.json.JSONWriter) - Constructor in PathCapturingJSONWriterWrapper
pop(Mode) - Method in JSONWriter
Pop an array or object scope.
pop(Mode) - Method in PathCapturingJSONWriterWrapper
PRAGMA - Field in HttpHeaders
preHandle(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.Object) - Method in ParamsAwareLocaleChangeInterceptor
prettyPrint(java.lang.Throwable) - Method in ErrorsViewStackTracePrinter
prettyPrintCodeSnippet(java.lang.Throwable) - Method in ErrorsViewStackTracePrinter
PrettyPrintJSONWriter - Class in org.grails.web.json
A JSONWriter dedicated to create indented/pretty printed output.
PrettyPrintJSONWriter(java.io.Writer, java.lang.String) - Constructor in PrettyPrintJSONWriter
PrettyPrintXMLStreamWriter - Class in org.grails.web.xml
A XMLStreamWriter dedicated to create indented/pretty printed output.
PrettyPrintXMLStreamWriter(org.grails.web.xml.StreamingMarkupWriter, java.lang.String) - Constructor in PrettyPrintXMLStreamWriter
prevCharIsCR - Field in SimpleCharStream
prevCharIsLF - Field in SimpleCharStream
PropertyEditorRegistryUtils - Class in org.grails.web.beans
Authors:
Graeme Rocher
PropertyEditorRegistryUtils() - Constructor in PropertyEditorRegistryUtils
PROXY_AUTHENTICATE - Field in HttpHeaders
PROXY_AUTHORIZATION - Field in HttpHeaders
PROXY_CONNECTION - Field in HttpHeaders
push(Mode) - Method in JSONWriter
Push an array or object scope.
push(Mode) - Method in PathCapturingJSONWriterWrapper
put(java.lang.String, java.lang.Object) - Method in GrailsFlashScope
put(java.lang.Object, java.lang.Object) - Method in GrailsParameterMap
put(int, java.lang.Object) - Method in JSONArray
Put or replace an object value in the JSONArray.
put(java.lang.Object, java.lang.Object) - Method in JSONObject
putAll(Map<? extends String,? extends Object>) - Method in GrailsFlashScope
putAll(java.util.Map) - Method in GrailsParameterMap
putAll(java.util.Map) - Method in JSONObject
putOpt(java.lang.String, java.lang.Object) - Method in JSONObject
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.
putValue(java.lang.String, java.lang.Object) - Method in GrailsHttpSession
@deprecated
See Also:
javax.servlet.http.HttpSession#putValue(java.lang.String, java.lang.Object)

Q

QUALITY_RATING - Field in MimeType
QUALITY_RATING_NUMBER - Field in MimeType
quote(java.lang.String) - Method in JSONObject
Produce a string in double quotes with backslash sequences in all the right places.

R

RANGE - Field in HttpHeaders
readChar() - Method in SimpleCharStream
Read a character.
REFERER - Field in HttpHeaders
registerCustomEditors(org.grails.web.servlet.mvc.GrailsWebRequest, org.springframework.beans.PropertyEditorRegistry, java.util.Locale) - Method in PropertyEditorRegistryUtils
Registers all known
registerDefault(grails.web.mime.MimeType, R) - Method in ClassAndMimeTypeRegistry
ReInit(org.grails.web.json.parser.JsonParserTokenManager) - Method in JSONParser
Reinitialise.
ReInit(org.grails.web.json.parser.SimpleCharStream, int) - Method in JsonParserTokenManager
Reinitialise parser.
ReInit(java.io.InputStream, int, int) - Method in SimpleCharStream
Reinitialise.
RELATIVE_STRING - Field in GroovyPagesUriSupport
remove(java.lang.Object) - Method in GrailsFlashScope
remove(java.lang.Object) - Method in GrailsParameterMap
remove(java.lang.Object) - Method in JSONArray
remove(java.lang.Object) - Method in JSONObject
removeAll(java.util.Collection) - Method in JSONArray
removeAttribute(java.lang.String) - Method in GrailsHttpSession
removeFromCache(java.lang.Class, grails.web.mime.MimeType) - Method in ClassAndMimeTypeRegistry
removeValue(java.lang.String) - Method in GrailsHttpSession
@deprecated
See Also:
javax.servlet.http.HttpSession#removeValue(java.lang.String)
RENDERING_VIEW - Field in WebUtils
renderMergedOutputModel(Map<String,Object>, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) - Method in AbstractGrailsView
Delegates to renderMergedOutputModel(..)
renderTemplate(Map<String,Object>, org.grails.web.servlet.mvc.GrailsWebRequest, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) - Method in AbstractGrailsView
Renders a page with the specified TemplateEngine, mode and response.
REQUEST_BODY_PARSED - Field in GrailsParameterMap
REQUEST_RANGE - Field in HttpHeaders
requestCompleted() - Method in GrailsWebRequest
RequestParameter - Annotation Type in grails.web
reset() - Method in IncludeResponseWrapper
resetBuffer() - Method in IncludeResponseWrapper
resetParams() - Method in GrailsWebRequest
Reset params by re-reading & initializing parameters from request
resolveMimeType(java.lang.Object, grails.web.mime.MimeTypeResolver) - Method in MimeTypeUtils
resolveRequestMimeType(org.grails.web.servlet.mvc.GrailsWebRequest) - Method in MimeTypeResolver
Returns:
The request format sent by the client
resolveResponseMimeType(org.grails.web.servlet.mvc.GrailsWebRequest) - Method in MimeTypeResolver
Returns:
The response format requested by the client
resolveView(java.lang.String, java.util.Locale) - Method in CompositeViewResolver
resolveView(javax.servlet.http.HttpServletRequest, java.lang.String, java.lang.String, org.springframework.web.servlet.ViewResolver) - Method in WebUtils
Resolves a view for the given view name and controller name
resolveViewName(java.lang.String, java.util.Locale) - Method in WebUtils
retainAll(java.util.Collection) - Method in JSONArray
rethrowRenderException(java.lang.Throwable, java.lang.String) - Method in AbstractGrailsView
retrieveGrailsWebRequest() - Method in WebUtils
Returns the GrailsWebRequest associated with the current request.
RETRY_AFTER - Field in HttpHeaders
run() - Method in WrappedResponseHolder

S

SEND_ALLOW_HEADER_FOR_INVALID_HTTP_METHOD - Field in WebUtils
sendError(int) - Method in IncludeResponseWrapper
sendRedirect(java.lang.String) - Method in IncludeResponseWrapper
SERVER - Field in HttpHeaders
SERVLET_ENGINE - Field in HttpHeaders
ServletAttributes - Trait in grails.web.api
A trait that adds attributes specific to the Servlet API
servletContext - Property in ServletEnvironmentGrailsApplicationDiscoveryStrategy
ServletContextHolder - Class in grails.web.context
Holds a reference to the ServletContext.
ServletEnvironmentGrailsApplicationDiscoveryStrategy - Class in org.grails.web.context
Strategy for discovering the GrailsApplication and ApplicationContext instances in the Servlet environment
ServletEnvironmentGrailsApplicationDiscoveryStrategy(javax.servlet.ServletContext, org.springframework.context.ApplicationContext) - Constructor in ServletEnvironmentGrailsApplicationDiscoveryStrategy
SET_COOKIE2 - Field in HttpHeaders
SET_COOKIE - Field in HttpHeaders
set(int, java.lang.Object) - Method in JSONArray
setActionName(java.lang.String) - Method in GrailsWebRequest
setAsText(java.lang.String) - Method in CompositeEditor
setAttribute(java.lang.String, java.lang.Object) - Method in GrailsHttpSession
setCapacity(int) - Method in BoundedCharsAsEncodedBytesCounter
setContentLength(int) - Method in IncludeResponseWrapper
setContentType(java.lang.String) - Method in IncludeResponseWrapper
setControllerName(java.lang.String) - Method in GrailsWebRequest
setControllerNamespace(java.lang.String) - Method in GrailsWebRequest
setDebugStream(java.io.PrintStream) - Method in JsonParserTokenManager
Set debug output.
setEncoding(java.lang.String) - Method in BoundedCharsAsEncodedBytesCounter
setFilteringCodec(java.lang.String) - Method in GrailsWebRequest
setFilteringEncoder(org.grails.encoder.Encoder) - Method in GrailsWebRequest
setGrailsApplication(grails.core.GrailsApplication) - Method in DefaultRequestStateLookupStrategy
setId(java.lang.Object) - Method in GrailsWebRequest
Sets the id of the request.
setLocale(java.util.Locale) - Method in IncludeResponseWrapper
setLocaleResolver(org.springframework.web.servlet.LocaleResolver) - Method in ParamsAwareLocaleChangeInterceptor
setMaxInactiveInterval(int) - Method in GrailsHttpSession
setMultipartRequest(javax.servlet.http.HttpServletRequest) - Method in GrailsWebRequest
Holds a reference to the org.springframework.web.multipart.MultipartRequest
setOut(javax.servlet.http.HttpServletRequest, java.io.Writer) - Method in DefaultGrailsApplicationAttributes
setOut(javax.servlet.http.HttpServletRequest, java.io.Writer) - Method in GrailsApplicationAttributes
Sets the current write for the request
setOut(java.io.Writer) - Method in GrailsWebRequest
Parameters:
out - the out to set
setParamName(java.lang.String) - Method in ParamsAwareLocaleChangeInterceptor
setRenderView(boolean) - Method in GrailsWebRequest
setServletContext(javax.servlet.ServletContext) - Method in ServletContextHolder
setSkipFilteringCodec(boolean) - Method in GrailsWebRequest
setStatus(int, java.lang.String) - Method in IncludeResponseWrapper
setTabSize(int) - Method in SimpleCharStream
setWrappedResponse(javax.servlet.http.HttpServletResponse) - Method in GrailsWebRequest
setWrappedResponse(javax.servlet.http.HttpServletResponse) - Method in WrappedResponseHolder
Bind the given HttpServletResponse to the current thread.
setWriteListener(javax.servlet.WriteListener) - Method in IncludeResponseWrapper
shouldSkipNextCause(java.lang.Throwable) - Method in ErrorsViewStackTracePrinter
SimpleCharStream - Class in org.grails.web.json.parser
SimpleCharStream(java.io.InputStream) - Constructor in SimpleCharStream
Constructor.
size() - Method in BoundedCharsAsEncodedBytesCounter
size() - Method in GrailsFlashScope
size() - Method in JSONArray
size() - Method in JSONObject
skipPast(java.lang.String) - Method in JSONTokener
Skip characters until past the requested string.
skipTo(char) - Method in JSONTokener
Skip characters until the next character is the requested character.
SLASH - Field in WebUtils
specialConstructor - Field in ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Field in Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
startDocument(java.lang.String, java.lang.String) - Method in PrettyPrintXMLStreamWriter
startDocument(java.lang.String, java.lang.String) - Method in XMLStreamWriter
startNode(java.lang.String) - Method in PrettyPrintXMLStreamWriter
startNode(java.lang.String) - Method in XMLStreamWriter
startTag() - Method in PrettyPrintXMLStreamWriter
startTag() - Method in XMLStreamWriter
staticFlag - Field in SimpleCharStream
Whether parser is static.
storeGrailsWebRequest(org.grails.web.servlet.mvc.GrailsWebRequest) - Method in WebUtils
Helper method to store the given GrailsWebRequest for the current request.
StreamingMarkupWriter - Class in org.grails.web.xml
Specialized StreamingMarkupWriter that handles the escaping of double quotes in XML attributes
StreamingMarkupWriter(java.io.Writer) - Constructor in StreamingMarkupWriter
StructuredDateEditor - Class in org.grails.web.binding
Structured editor for editing dates that takes 5 fields that represent the year, month, day, hour and minute and constructs a Date instance
StructuredDateEditor(java.text.DateFormat, boolean, int) - Constructor in StructuredDateEditor
StructuredPropertyEditor - Interface in org.grails.web.binding
A PropertyEditor that is able to edit structured properties (properties made up of multiple field values).
subList(int, int) - Method in JSONArray
SUFFIX - Field in GroovyPagesUriSupport
SwitchTo(int) - Method in JsonParserTokenManager
Switch to specified lex state.
syntaxError(java.lang.String) - Method in JSONTokener
Make a JSONException to signal a syntax error.

T

tabSize - Field in SimpleCharStream
TAG - Enum Constant in XMLStreamWriter.Mode
tagStack - Field in XMLStreamWriter
TE - Field in HttpHeaders
TEXT_JSON - Field in MimeType
TEXT_XML - Field in MimeType
toArray(java.lang.Object) - Method in JSONArray
toJSONArray(org.grails.web.json.JSONArray) - Method in JSONObject
Produce a JSONArray containing the values of the members of this JSONObject.
toJSONObject(org.grails.web.json.JSONArray) - Method in JSONArray
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
Token - Class in org.grails.web.json.parser
token - Field in JSONParser
Current token.
token_source - Field in JSONParser
Generated Token Manager.
Token(int, java.lang.String) - Constructor in Token
Constructs a new token for the specified Image and Kind.
tokenImage - Field in ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
TokenMgrError - Class in org.grails.web.json.parser
Token Manager Error.
TokenMgrError(boolean, int, int, int, java.lang.String, char, int) - Constructor in TokenMgrError
Full Constructor.
toQueryString() - Method in GrailsParameterMap
Converts this parameter map into a query String.
toQueryString(java.util.Map) - Method in WebUtils
Converts the given parameters to a query string using the default UTF-8 encoding
toRegexSafeString() - Method in JSONTokener
Make a regex safe printable string of this JSONTokener.
toString() - Method in GrailsHttpSession
toString(int) - Method in JSONArray
Make a prettyprinted JSON text of this JSONArray.
toString(int) - Method in JSONObject
Make a prettyprinted JSON text of this JSONObject.
toString() - Method in JSONTokener
Make a printable string of this JSONTokener.
toString() - Method in MimeType
toString() - Method in Token
Returns the image.
TRAILER - Field in HttpHeaders
TRANSFER_ENCODING - Field in HttpHeaders
transformActionResult(org.grails.web.servlet.mvc.GrailsWebRequest, java.lang.String, java.lang.Object) - Method in ActionResultTransformer
Transforms an action result
trimToSize() - Method in JSONArray

U

update(char[], int, int) - Method in BoundedCharsAsEncodedBytesCounter
UpdateLineColumn(char) - Method in SimpleCharStream
updateNestedKeys(java.util.Map) - Method in GrailsParameterMap
UPGRADE - Field in HttpHeaders
URL_PREFIX - Field in GrailsWrappedRuntimeException
USER_AGENT - Field in HttpHeaders

V

value(java.lang.Object) - Method in JSONWriter
Append an object value.
value(java.lang.Object) - Method in PathCapturingJSONWriterWrapper
value - Field in RequestParameter
The name of the request parameter to bind to.
valueNull() - Method in JSONWriter
values() - Method in GrailsFlashScope
values() - Method in JSONObject
VARY - Field in HttpHeaders
VIA - Field in HttpHeaders
viewResolvers - Property in CompositeViewResolver

W

WARNING - Field in HttpHeaders
WebAttributes - Trait in grails.web.api
Common web attributes inherited by all controllers and tag libraries
WebRequestDelegatingRequestContext - Class in org.grails.web.servlet
Delegates calls to a passed GrailsWebRequest instance.
WebRequestDelegatingRequestContext() - Constructor in WebRequestDelegatingRequestContext
WebRequestServletHolder - Class in grails.web.context
Authors:
Burt Beckwith
WebRequestServletHolder() - Constructor in WebRequestServletHolder
WebUtils - Class in org.grails.web.util
Utility methods to access commons objects and perform common web related functions for the internal framework.
WrappedResponseHolder - Class in org.grails.web.servlet
A holder for the original Wrapped response for use when using includes.
write(int) - Method in IncludeResponseWrapper
write(java.io.Writer) - Method in JSONArray
Write the contents of the JSONArray as JSON text to a writer.
write(java.io.Writer) - Method in JSONObject
Write the contents of the JSONObject as JSON text to a writer.
write(int) - Method in StreamingMarkupWriter
writer - Field in JSONWriter
The writer that will receive the output.
writer - Field in XMLStreamWriter
writerAvailable - Property in OutputAwareHttpServletResponse
Whether the writer is available
writeTo(java.io.Writer) - Method in IncludedContent
writeTo(java.io.Writer) - Method in JSONArray
writeTo(java.io.Writer) - Method in JSONObject
WWW_AUTHENTICATE - Field in HttpHeaders

X

X_FORWARDED_FOR - Field in HttpHeaders
XHTML - Field in MimeType
XML - Field in MimeType
XMLStreamWriter - Class in org.grails.web.xml
A simple XML Stream Writer that leverages the StreamingMarkupWriter of Groovy
XMLStreamWriter.Mode - Enum in org.grails.web.xml
XMLStreamWriter(org.grails.web.xml.StreamingMarkupWriter) - Constructor in XMLStreamWriter

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 _