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(String, Object) - Method in JSONObject
Accumulate values under a key.
ACTION_NAME_ATTRIBUTE - Field in GrailsApplicationAttributes
ActionResultTransformer - Interface in org.grails.web.servlet.mvc
Interface for classes which transform the result of an action.
add_escapes(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, Object) - Method in JSONArray
addAll(int, Collection) - Method in JSONArray
addDataBindingSourceCreator(DataBindingSourceCreator) - Method in DataBindingSourceRegistry
Adds a new DataBindingSourceCreator to the registry
addEscapes(String) - Method in TokenMgrError
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
addParameterListener(ParameterCreationListener) - Method in GrailsWebRequest
addParametersFrom(GrailsParameterMap) - Method in GrailsParameterMap
addParametersFrom(Map) - Method in GrailsWebRequest
addToRegisteredObjects(Class, R) - Method in ClassAndMimeTypeRegistry
addViewPrefix(String, 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
APP_URI_ATTRIBUTE - Field in GrailsApplicationAttributes
append(Writable) - Method in JSONWriter
append(String) - Method in PathCapturingJSONWriterWrapper
append(Writable) - Method in PrettyPrintJSONWriter
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() - Method in PathCapturingJSONWriterWrapper
array() - Method in PrettyPrintJSONWriter
assemble(Class, Map) - Method in StructuredDateEditor
assemble(Class, 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
ASYNC_STARTED - Field in GrailsApplicationAttributes
ATOM_XML - Field in MimeType
attribute(String, 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_ID - Field in GroovyPagesUriService
BEAN_NAME - Field in CompositeViewResolver
BEAN_NAME - Field in FilteringCodecsByContentTypeSettings
BEAN_NAME - Field in MimeType
The bean name used to store the mime type definitions
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(ServletContext, MockHttpServletRequest, 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, 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
CHAIN_MODEL - Field in FlashScope
The attribute containing the chain model
CHAR - Field in JsonParserConstants
RegularExpression Id.
characters(String) - Method in PrettyPrintXMLStreamWriter
characters(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.
cleanupIncludeRequestAttributes(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
CNTRL_ESC - Field in JsonParserConstants
RegularExpression Id.
collectionToString(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
@author Graeme Rocher
CompositeEditor(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
CONFIG_PROPERTY_CODEC_FOR_CONTENT_TYPE - Field in FilteringCodecsByContentTypeSettings
CONNECTION - Field in HttpHeaders
contains(Object) - Method in JSONArray
containsAll(Collection) - Method in JSONArray
containsKey(Object) - Method in GrailsFlashScope
containsKey(Object) - Method in JSONObject
containsValue(Object) - Method in GrailsFlashScope
containsValue(Object) - Method in JSONObject
CONTENT_DISPOSITION - Field in HttpHeaders
CONTENT_ENCODING - Field in HttpHeaders
CONTENT_FORMAT - Field in GrailsApplicationAttributes
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
CONTROLLER - Field in GrailsApplicationAttributes
CONTROLLER_NAME_ATTRIBUTE - Field in GrailsApplicationAttributes
CONTROLLER_NAMESPACE_ATTRIBUTE - Field in GrailsApplicationAttributes
ControllerExecutionException - Class in org.grails.web.servlet.mvc.exceptions
Throw when an exception occurs during controller execution
ControllerExecutionException(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(Class, MimeType) - Method in ClassAndMimeTypeRegistry
createCollectionDataBindingSource(MimeType, Class, Object) - Method in DataBindingSourceCreator
Creates a CollectionDataBindingSource suitable for binding bindingSource to bindingTarget
createCollectionDataBindingSource(MimeType, Class, Object) - Method in DataBindingSourceRegistry
Locates a grails.databinding.CollectionDataBindingSource for the given MimeType and binding target
createDataBindingSource(MimeType, Class, Object) - Method in DataBindingSourceCreator
Creates a DataBindingSource suitable for binding bindingSource to bindingTarget
createDataBindingSource(MimeType, Class, Object) - Method in DataBindingSourceRegistry
Locates a grails.databinding.DataBindingSource for the given MimeType and binding target
createDefaults() - Method in MimeType
Creates the default MimeType configuration if none exists in Config.groovy
createGrailsWebRequest(HttpServletRequest, HttpServletResponse, ServletContext) - Method in AbstractGrailsView
curChar - Field in JsonParserTokenManager
currentApplication() - Method in GrailsWebUtil
@return The currently bound GrailsApplication instance
currentConfiguration() - Method in GrailsWebUtil
@return 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(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(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 - Field in JsonParserConstants
Lexical state.
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(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(GrailsWebRequest) - Constructor in DefaultRequestStateLookupStrategy
dehexchar(char) - Method in JSONTokener
Get the hex value of a character (base16).
DIGITS - Field in JsonParserConstants
RegularExpression Id.
disable_tracing() - Method in JSONParser
Disable tracing.
DISPATCH_ACTION_PARAMETER - Field in WebUtils
Done() - Method in SimpleCharStream
Reset buffer when finished.
DOUBLE_QUOTE_LITERAL - Field in JsonParserConstants
RegularExpression Id.

E

E - Field in JsonParserConstants
RegularExpression Id.
EMPTY_ARGS - Field in GrailsParameterMap
ENABLE_FILE_EXTENSIONS - Field in WebUtils
enable_tracing() - Method in JSONParser
Enable tracing.
encodeToWriter(CharSequence, Writer) - Method in JSONObject
end(XMLStreamWriter.Mode, char) - Method in JSONWriter
End something.
end(XMLStreamWriter.Mode, char) - Method in PathCapturingJSONWriterWrapper
end(XMLStreamWriter.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
ENDQUOTE - Field in JsonParserConstants
RegularExpression Id.
endStartTag() - Method in PrettyPrintXMLStreamWriter
endStartTag() - Method in XMLStreamWriter
ensureCapacity(int) - Method in JSONArray
entrySet() - Method in GrailsFlashScope
entrySet() - Method in JSONObject
EOF - Field in JsonParserConstants
End of File.
eol - Field in ParseException
The end of line string for this machine.
equals(Object) - Method in JSONArray
If the passed object is a JSONArray, then the underlying collection must be equal.
equals(Object) - Method in JSONObject
equals(def) - Method in MimeType
ERRORS - Field in GrailsApplicationAttributes
ERRORS_PREFIX - Field in GrailsFlashScope
ErrorsViewStackTracePrinter - Class in org.grails.web.errors
Customized Stack trace output for the errors view.
ErrorsViewStackTracePrinter(ResourceLocator) - Constructor in ErrorsViewStackTracePrinter
ESC_STATE - Field in JsonParserConstants
Lexical state.
ESCAPE_CHAR - Field in JsonParserConstants
RegularExpression Id.
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(HttpServletRequest) - Method in WebUtils
Expose the current request URI and paths as javax.servlet.http.HttpServletRequest attributes under the keys defined in the Servlet 2.4 specification, for containers that implement 2.3 or an earlier version of the Servlet API: javax.servlet.forward.request_uri, javax.servlet.forward.context_path, javax.servlet.forward.servlet_path, javax.servlet.forward.path_info, javax.servlet.forward.query_string.
exposeRequestAttributesAndReturnOldValues(HttpServletRequest, Map<String, ?>) - Method in WebUtils
EXTENSION - Field in GroovyPagesUriSupport

F

FillBuff() - Method in SimpleCharStream
FilteringCodecsByContentTypeSettings - Class in org.grails.web.pages
FilteringCodecsByContentTypeSettings(GrailsApplication) - Constructor in FilteringCodecsByContentTypeSettings
findApplication(ServletContext) - Method in WebUtils
Looks up the GrailsApplication instance
findApplicationContext() - Method in ServletEnvironmentGrailsApplicationDiscoveryStrategy
findApplicationContext(ServletContext) - Method in WebUtils
Locates the ApplicationContext, returns null if not found
findGrailsApplication() - Method in ServletEnvironmentGrailsApplicationDiscoveryStrategy
findMatchingObjectForMimeType(MimeType, def) - Method in ClassAndMimeTypeRegistry
findRegisteredObjectForType(Class, MimeType) - Method in ClassAndMimeTypeRegistry
FLASH_SCOPE - Field in GrailsApplicationAttributes
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(Resource, int) - Method in ErrorsViewStackTracePrinter
formatCodeSnippetErrorLine(int, Object) - Method in ErrorsViewStackTracePrinter
formatCodeSnippetLine(int, Object) - Method in ErrorsViewStackTracePrinter
formatCodeSnippetStart(Resource, int) - Method in ErrorsViewStackTracePrinter
FORWARD_IN_PROGRESS - Field in GrailsApplicationAttributes
FORWARD_ISSUED - Field in GrailsApplicationAttributes
FORWARDED - Field in HttpHeaders
FROM - Field in HttpHeaders
fromQueryString(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(Object) - Method in GrailsFlashScope
get(Object) - Method in GrailsParameterMap
get(int) - Method in JSONArray
Get the object value associated with an index.
get(Object) - Method in JSONObject
getAbsoluteTemplateURI(String, boolean) - Method in GroovyPagesUriService
getAbsoluteTemplateURI(String, boolean) - Method in GroovyPagesUriSupport
Used to resolve template names that are not relative to a controller.
getAbsoluteViewURI(String) - Method in GroovyPagesUriService
getAbsoluteViewURI(String) - Method in GroovyPagesUriSupport
Obtains a view URI that is not relative to any given controller
getActionName(String) - Method in DefaultRequestStateLookupStrategy
getActionName() - Method in GrailsRequestContext
@return The Action name
getActionName() - Method in GrailsRequestStateLookupStrategy
The action name
getActionName() - Method in GrailsWebRequest
@return 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(ServletRequest) - Method in DefaultGrailsApplicationAttributes
@deprecated Use instead
getApplicationUri(ServletRequest) - Method in GrailsApplicationAttributes
@deprecated Use instead
getAttribute(String) - Method in GrailsHttpSession
getAttributeNames() - Method in GrailsHttpSession
getAttributes() - Method in GrailsWebRequest
@return 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(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
@return Returns the className.
getCodeSnippet() - Method in GrailsWrappedRuntimeException
@return Returns the line.
getConfigSettings(Config) - Method in FilteringCodecsByContentTypeSettings
getConfiguredMimeTypes() - Method in MimeType
@return An array of MimeTypes
getContent() - Method in IncludedContent
Returns the included content
getContent(String) - Method in IncludeResponseWrapper
getContentAsCharArray() - Method in IncludedContent
getContentType(String, 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(ServletRequest) - Method in DefaultGrailsApplicationAttributes
getController(ServletRequest) - Method in GrailsApplicationAttributes
@return The controller for the request
getControllerActionUri(ServletRequest) - Method in DefaultGrailsApplicationAttributes
getControllerActionUri(ServletRequest) - Method in GrailsApplicationAttributes
@param request
getControllerClass() - Method in GrailsWebRequest
@return the controllerClass
getControllerClass() - Method in WebAttributes
Obtains the currently executing controller class
getControllerFromRequest(HttpServletRequest) - Method in GrailsWebUtil
Obtains the currently executing controller from the given request if any.
getControllerName() - Method in DefaultRequestStateLookupStrategy
getControllerName() - Method in GrailsRequestContext
@return The Controller Name
getControllerName() - Method in GrailsRequestStateLookupStrategy
The controller name
getControllerName() - Method in GrailsWebRequest
@return 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
@return the controllerNamespace
getControllerNamespace() - Method in WebAttributes
Obtains the currently executing controller namespace
getControllerUri(ServletRequest) - Method in DefaultGrailsApplicationAttributes
getControllerUri(ServletRequest) - Method in GrailsApplicationAttributes
@param request
getCountingWriter() - Method in BoundedCharsAsEncodedBytesCounter
getCreationTime() - Method in GrailsHttpSession
getCurrentRequest() - Method in GrailsWebRequest
@return The currently executing request
getCurrentResponse() - Method in GrailsWebRequest
getCurrentStrackReference() - Method in PathCapturingJSONWriterWrapper
getDate(String) - Method in GrailsParameterMap
Obtains a date for the parameter name using the default format
getDeployedAbsoluteViewURI(String) - Method in GroovyPagesUriService
getDeployedAbsoluteViewURI(String) - Method in GroovyPagesUriSupport
Obtains a view URI when deployed within the /WEB-INF/grails-app/views context
getDeployedViewURI(String, String) - Method in DefaultGroovyPagesUriService
getDeployedViewURI(String, String) - Method in GroovyPagesUriService
getDeployedViewURI(String, 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(String) - Method in JSONObject
Get the double value associated with a key.
getEncoderForContentType(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(ServletRequest) - Method in DefaultGrailsApplicationAttributes
getErrors(ServletRequest) - Method in GrailsApplicationAttributes
@param request
getFilteringCodec() - Method in GrailsWebRequest
getFilteringEncoder() - Method in GrailsWebRequest
getFlash() - Method in WebAttributes
Obtains the Grails FlashScope instance
getFlashScope(ServletRequest) - Method in DefaultGrailsApplicationAttributes
getFlashScope(ServletRequest) - Method in GrailsApplicationAttributes
Retrieves the flash scope instance for the given requeste
getFlashScope() - Method in GrailsWebRequest
@return The FlashScope instance for the current request
getFormatFromURI(String, MimeType) - Method in WebUtils
Obtains the format from the URI.
getForwardURI(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
@return The GroovyPageUriService instance
getHttpMethod() - Method in DefaultRequestStateLookupStrategy
getHttpMethod() - Method in GrailsRequestStateLookupStrategy
@return The HTTP method
getId() - Method in GrailsHttpSession
getId() - Method in GrailsWebRequest
getIdentifier() - Method in GrailsParameterMap
@return 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(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(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(String) - Method in JSONObject
Get the JSONObject value associated with a key.
getLastAccessedTime() - Method in GrailsHttpSession
getLineNumber() - Method in GrailsWrappedRuntimeException
@return Returns the lineNumber.
getLineNumberInfo(Throwable, int) - Method in ErrorsViewStackTracePrinter
getLogicalControllerName(GroovyObject) - Method in DefaultGroovyPagesUriService
getLogicalControllerName(GroovyObject) - Method in GroovyPagesUriSupport
getLong(int) - Method in JSONArray
Get the long value associated with an index.
getLong(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
@return The MessageSource instance
getMimeTypes() - Method in MimeTypeProvider
@return The MimeType instances provided by this object
getNextToken() - Method in JSONParser
Get the next Token.
getNextToken() - Method in JsonParserTokenManager
Get the next Token.
getNoSuffixViewURI(GroovyObject, String) - Method in DefaultGrailsApplicationAttributes
getNoSuffixViewURI(String, String) - Method in DefaultGroovyPagesUriService
getNoSuffixViewURI(GroovyObject, String) - Method in GrailsApplicationAttributes
getNoSuffixViewURI(String, String) - Method in GroovyPagesUriService
getNoSuffixViewURI(String, 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
@return The optional fields
getOriginalParams() - Method in GrailsWebRequest
@return The Grails params object
getOut(HttpServletRequest) - Method in DefaultGrailsApplicationAttributes
getOut(HttpServletRequest) - Method in GrailsApplicationAttributes
Holds the current response write for the request
getOut() - Method in GrailsRequestContext
The response writer.
getOut() - Method in GrailsWebRequest
@return the out
getOut() - Method in WebRequestDelegatingRequestContext
getOutputStream() - Method in IncludeResponseWrapper
getOutputStream() - Method in OutputAwareHttpServletResponse
getPagesTemplateEngine() - Method in DefaultGrailsApplicationAttributes
getPagesTemplateEngine() - Method in GrailsApplicationAttributes
@return 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
@return The Grails params object
getParams() - Method in WebAttributes
Obtains the Grails parameter map
getParams() - Method in WebRequestDelegatingRequestContext
getPluginContextPath(HttpServletRequest) - Method in DefaultGrailsApplicationAttributes
getPluginContextPath(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
@return The quality of the Mime type
getQualityAsNumber() - Method in MimeType
@return 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(Class) - Method in ClassAndMimeTypeRegistry
getRequest() - Method in GrailsParameterMap
@return Returns the request.
getRequest() - Method in GrailsRequestContext
The request object.
getRequest() - Method in ServletAttributes
getRequest() - Method in WebRequestDelegatingRequestContext
getRequestURI() - Method in GrailsRequestContext
@return The Request URI
getRequestURI() - Method in WebRequestDelegatingRequestContext
getRequestURIForGrailsDispatchURI(HttpServletRequest) - Method in WebUtils
The Grails dispatch servlet maps URIs like /app/grails/example/index.dispatch.
getRequiredFields() - Method in StructuredDateEditor
getRequiredFields() - Method in StructuredPropertyEditor
@return 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
@return 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
@return 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
@return Returns the stackTrace lines
getStackTraceText() - Method in GrailsWrappedRuntimeException
@return Returns the stackTrace.
getStatus() - Method in IncludeResponseWrapper
getString(int) - Method in JSONArray
Get the string associated with an index.
getString(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
@return The target type of this creator
getTemplate() - Method in AbstractGrailsView
getTemplateUri(CharSequence, ServletRequest) - Method in DefaultGrailsApplicationAttributes
getTemplateURI(GroovyObject, String) - Method in DefaultGroovyPagesUriService
getTemplateUri(CharSequence, ServletRequest) - Method in GrailsApplicationAttributes
@param templateName
getTemplateURI(GroovyObject, String, boolean) - Method in GroovyPagesUriService
getTemplateURI(String, 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(HttpServletRequest) - Method in GrailsWebUtil
Retrieves the URI from the request from either the include attribute or the request.getRequestURI() method.
getValue(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
@return The version of the Mime type
getViewUri(String, HttpServletRequest) - Method in DefaultGrailsApplicationAttributes
getViewUri(String, HttpServletRequest) - Method in GrailsApplicationAttributes
Retrieves the uri of a named view
getViewURI(String, String) - Method in GroovyPagesUriService
Obtains a view name for the given controller name and template name
getViewURI(String, String) - Method in GroovyPagesUriSupport
Obtains a view URI of the given controller name and view name
getWebRequest() - Method in DefaultRequestStateLookupStrategy
getWebRequest() - Method in GrailsRequestStateLookupStrategy
@return 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_CONTROLLER_CLASS_AVAILABLE - Field in GrailsApplicationAttributes
GRAILS_CONTROLLER_CLASS - Field in GrailsApplicationAttributes
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 grails.web.mvc.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(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(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(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
@author Jeff Brown
GrailsWebRequest - Class in org.grails.web.servlet.mvc
Encapsulates a Grails request.
GrailsWebRequest(HttpServletRequest, HttpServletResponse, ServletContext, 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(ServletContext, Throwable) - Constructor in GrailsWrappedRuntimeException
@param 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.
GSP_CODEC - Field in GrailsApplicationAttributes
GSP_TEMPLATE_ENGINE - Field in GrailsApplicationAttributes
GSP_TMP_WRITER - Field in GrailsApplicationAttributes
GSP_TO_RENDER - Field in GrailsApplicationAttributes

H

HAL_JSON - Field in MimeType
HAL_XML - Field in MimeType
has(String) - Method in JSONObject
Determine if the JSONObject contains a specific key.
hashCode() - Method in JSONArray
hashCode() - Method in JSONObject
hashCode() - Method in MimeType
HEX_CHAR - Field in JsonParserConstants
RegularExpression Id.
HEX_ESC - Field in JsonParserConstants
RegularExpression Id.
HEX - Field in JsonParserConstants
RegularExpression Id.
HEX_STATE - Field in JsonParserConstants
Lexical state.
HOST - Field in HttpHeaders
HTML - Field in MimeType
HttpHeaders - Class in grails.web.http
Constants for HTTP headers.

I

ID_PARAM - Field in GrailsApplicationAttributes
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(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(HttpServletResponse) - Constructor in IncludeResponseWrapper
indexOf(Object) - Method in JSONArray
informParameterCreationListeners() - Method in GrailsWebRequest
Informs any parameter creation listeners.
initialize(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(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(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(HttpServletRequest) - Method in WebUtils
Check whether the given request is a forward request
isForwardOrInclude(HttpServletRequest) - Method in WebUtils
Check whether the given request is an include or forward request
isInclude(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(String) - Method in JSONObject
Determine if the value associated with the key is null or if there is no value.
isRenderView() - Method in GrailsWebRequest
@return true if the view for this GrailsWebRequest should be rendered
isSkipFilteringCodec() - Method in GrailsWebRequest
@return 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(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(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(Throwable) - Constructor in JSONException
JSONObject - Class in org.grails.web.json
A JSONObject is an unordered collection of name/value pairs.
JSONObject(String) - Constructor in JSONObject
Construct a JSONObject from a string.
JSONParser - Class in org.grails.web.json.parser
JSONParser(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(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(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(Writer) - Constructor in JSONWriter
Make a fresh JSONWriter.

K

KEEP_ALIVE - Field in HttpHeaders
key(String) - Method in JSONWriter
Append a key.
key(String) - Method in PathCapturingJSONWriterWrapper
key(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(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, 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
LOCATION - Field in HttpHeaders
lookup() - Method in GrailsWebRequest
Looks up the current Grails WebRequest instance
lookupApplication(ServletContext) - Method in GrailsWebUtil
Looks up a GrailsApplication instance from the ServletContext.
lookupApplication(ServletContext) - Method in WebUtils
Looks up the GrailsApplication instance
lookupFilteringEncoder() - Method in GrailsWebRequest
lookupHandlerInterceptors(ServletContext) - Method in WebUtils
Looks up all of the HandlerInterceptor instances registered for the application
lookupSecondary() - Method in WebRequestServletHolder
lookupViewResolver(ApplicationContext) - Method in WebUtils
lookupWebRequestInterceptors(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
@author Graeme Rocher
MimeType(String, 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
mode - Field in JSONWriter
The current mode.
mode - Field in XMLStreamWriter
MODEL_AND_VIEW - Field in GrailsApplicationAttributes
more() - Method in JSONTokener
Determine if the source string still contains characters that next() can consume.
MULTIPART_FORM - Field in MimeType

N

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(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(Number) - Method in JSONObject
Produce a string from a number.

O

object() - Method in JSONWriter
Begin appending a new object.
object() - Method in PathCapturingJSONWriterWrapper
object() - Method in PrettyPrintJSONWriter
opt(int) - Method in JSONArray
Get the optional object value associated with an index.
opt(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(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(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(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(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(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(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, String) - Method in JSONArray
Get the optional string associated with an index.
optString(String, String) - Method in JSONObject
Get an optional string associated with a key.
OUT - Field in GrailsApplicationAttributes
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

P

PAGE_SCOPE - Field in GrailsApplicationAttributes
ParameterCreationListener - Interface in org.grails.web.servlet.mvc
A callback interface that is fired when the params object is created
PARAMS_OBJECT - Field in GrailsApplicationAttributes
ParamsAwareLocaleChangeInterceptor - Class in org.grails.web.i18n
A LocaleChangeInterceptor instance that is aware of the Grails params object.
paramsCreated(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(String) - Constructor in ParseException
Constructor with message.
parseJSON() - Method in JSONParser
PATH_TO_VIEWS - Field in GrailsApplicationAttributes
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(JSONWriter) - Constructor in PathCapturingJSONWriterWrapper
pop(XMLStreamWriter.Mode) - Method in JSONWriter
Pop an array or object scope.
pop(XMLStreamWriter.Mode) - Method in PathCapturingJSONWriterWrapper
PRAGMA - Field in HttpHeaders
preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in ParamsAwareLocaleChangeInterceptor
prettyPrint(Throwable) - Method in ErrorsViewStackTracePrinter
prettyPrintCodeSnippet(Throwable) - Method in ErrorsViewStackTracePrinter
PrettyPrintJSONWriter - Class in org.grails.web.json
A JSONWriter dedicated to create indented/pretty printed output.
PrettyPrintJSONWriter(Writer, String) - Constructor in PrettyPrintJSONWriter
PrettyPrintXMLStreamWriter - Class in org.grails.web.xml
A XMLStreamWriter dedicated to create indented/pretty printed output.
PrettyPrintXMLStreamWriter(StreamingMarkupWriter, String) - Constructor in PrettyPrintXMLStreamWriter
prevCharIsCR - Field in SimpleCharStream
prevCharIsLF - Field in SimpleCharStream
PROPERTY_REGISTRY - Field in GrailsApplicationAttributes
PropertyEditorRegistryUtils - Class in org.grails.web.beans
@author Graeme Rocher
PROXY_AUTHENTICATE - Field in HttpHeaders
PROXY_AUTHORIZATION - Field in HttpHeaders
PROXY_CONNECTION - Field in HttpHeaders
push(XMLStreamWriter.Mode) - Method in JSONWriter
Push an array or object scope.
push(XMLStreamWriter.Mode) - Method in PathCapturingJSONWriterWrapper
put(String, Object) - Method in GrailsFlashScope
put(Object, Object) - Method in GrailsParameterMap
put(int, Object) - Method in JSONArray
Put or replace an object value in the JSONArray.
put(Object, Object) - Method in JSONObject
putAll(Map<? extends String, ? extends Object>) - Method in GrailsFlashScope
putAll(Map) - Method in GrailsParameterMap
putAll(Map) - Method in JSONObject
putOpt(String, 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(String, 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(String) - Method in JSONObject
Produce a string in double quotes with backslash sequences in all the right places.
QUOTE - Field in JsonParserConstants
RegularExpression Id.

R

RANGE - Field in HttpHeaders
readChar() - Method in SimpleCharStream
Read a character.
REDIRECT_ISSUED - Field in GrailsApplicationAttributes
REFERER - Field in HttpHeaders
registerCustomEditors(GrailsWebRequest, PropertyEditorRegistry, Locale) - Method in PropertyEditorRegistryUtils
Registers all known
registerDefault(MimeType, R) - Method in ClassAndMimeTypeRegistry
ReInit(JsonParserTokenManager) - Method in JSONParser
Reinitialise.
ReInit(SimpleCharStream, int) - Method in JsonParserTokenManager
Reinitialise parser.
ReInit(InputStream, int, int) - Method in SimpleCharStream
Reinitialise.
RELATIVE_STRING - Field in GroovyPagesUriSupport
remove(Object) - Method in GrailsFlashScope
remove(Object) - Method in GrailsParameterMap
remove(Object) - Method in JSONArray
remove(Object) - Method in JSONObject
removeAll(Collection) - Method in JSONArray
removeAttribute(String) - Method in GrailsHttpSession
removeFromCache(Class, MimeType) - Method in ClassAndMimeTypeRegistry
removeValue(String) - Method in GrailsHttpSession
@deprecated
See Also:
javax.servlet.http.HttpSession#removeValue(java.lang.String)
RENDERING_ERROR_ATTRIBUTE - Field in GrailsApplicationAttributes
RENDERING_VIEW - Field in WebUtils
renderMergedOutputModel(Map<String, Object>, HttpServletRequest, HttpServletResponse) - Method in AbstractGrailsView
Delegates to renderMergedOutputModel(..)
renderTemplate(Map<String, Object>, GrailsWebRequest, HttpServletRequest, HttpServletResponse) - Method in AbstractGrailsView
Renders a page with the specified TemplateEngine, mode and response.
REQUEST_BODY_PARSED - Field in GrailsParameterMap
REQUEST_FORMATS - Field in GrailsApplicationAttributes
REQUEST_RANGE - Field in HttpHeaders
REQUEST_REDIRECTED_ATTRIBUTE - Field in GrailsApplicationAttributes
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(Object, MimeTypeResolver) - Method in MimeTypeUtils
resolveRequestMimeType(GrailsWebRequest) - Method in MimeTypeResolver
@return The request format sent by the client
resolveResponseMimeType(GrailsWebRequest) - Method in MimeTypeResolver
@return The response format requested by the client
resolveView(String, Locale) - Method in CompositeViewResolver
resolveView(HttpServletRequest, String, String, ViewResolver) - Method in WebUtils
Resolves a view for the given view name and controller name
RESPONSE_FORMAT - Field in GrailsApplicationAttributes
RESPONSE_FORMATS - Field in GrailsApplicationAttributes
RESPONSE_MIME_TYPE - Field in GrailsApplicationAttributes
RESPONSE_MIME_TYPES - Field in GrailsApplicationAttributes
retainAll(Collection) - Method in JSONArray
rethrowRenderException(Throwable, String) - Method in AbstractGrailsView
retrieveGrailsWebRequest() - Method in WebUtils
Returns the GrailsWebRequest associated with the current request.
RETRY_AFTER - Field in HttpHeaders

S

SEND_ALLOW_HEADER_FOR_INVALID_HTTP_METHOD - Field in WebUtils
sendError(int) - Method in IncludeResponseWrapper
sendRedirect(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
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(ServletContext, ApplicationContext) - Constructor in ServletEnvironmentGrailsApplicationDiscoveryStrategy
SET_COOKIE2 - Field in HttpHeaders
SET_COOKIE - Field in HttpHeaders
set(int, Object) - Method in JSONArray
setActionName(String) - Method in GrailsWebRequest
setAsText(String) - Method in CompositeEditor
setAttribute(String, Object) - Method in GrailsHttpSession
setCapacity(int) - Method in BoundedCharsAsEncodedBytesCounter
setContentLength(int) - Method in IncludeResponseWrapper
setContentType(String) - Method in IncludeResponseWrapper
setControllerName(String) - Method in GrailsWebRequest
setControllerNamespace(String) - Method in GrailsWebRequest
setDebugStream(PrintStream) - Method in JsonParserTokenManager
Set debug output.
setEncoding(String) - Method in BoundedCharsAsEncodedBytesCounter
setFilteringCodec(String) - Method in GrailsWebRequest
setFilteringEncoder(Encoder) - Method in GrailsWebRequest
setGrailsApplication(GrailsApplication) - Method in DefaultRequestStateLookupStrategy
setId(Object) - Method in GrailsWebRequest
Sets the id of the request.
setLocale(Locale) - Method in IncludeResponseWrapper
setLocaleResolver(LocaleResolver) - Method in ParamsAwareLocaleChangeInterceptor
setMaxInactiveInterval(int) - Method in GrailsHttpSession
setMultipartRequest(HttpServletRequest) - Method in GrailsWebRequest
Holds a reference to the org.springframework.web.multipart.MultipartRequest
setOut(HttpServletRequest, Writer) - Method in DefaultGrailsApplicationAttributes
setOut(HttpServletRequest, Writer) - Method in GrailsApplicationAttributes
Sets the current write for the request
setOut(Writer) - Method in GrailsWebRequest
@param out the out to set
setParamName(String) - Method in ParamsAwareLocaleChangeInterceptor
setRenderView(boolean) - Method in GrailsWebRequest
setServletContext(ServletContext) - Method in ServletContextHolder
setSkipFilteringCodec(boolean) - Method in GrailsWebRequest
setStatus(int, String) - Method in IncludeResponseWrapper
setTabSize(int) - Method in SimpleCharStream
setWrappedResponse(HttpServletResponse) - Method in GrailsWebRequest
setWrappedResponse(HttpServletResponse) - Method in WrappedResponseHolder
Bind the given HttpServletResponse to the current thread.
shouldSkipNextCause(Throwable) - Method in ErrorsViewStackTracePrinter
SimpleCharStream - Class in org.grails.web.json.parser
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(InputStream) - Constructor in SimpleCharStream
Constructor.
SINGLE_QUOTE_LITERAL - Field in JsonParserConstants
RegularExpression Id.
size() - Method in BoundedCharsAsEncodedBytesCounter
size() - Method in GrailsFlashScope
size() - Method in JSONArray
size() - Method in JSONObject
skipPast(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(String, String) - Method in PrettyPrintXMLStreamWriter
startDocument(String, String) - Method in XMLStreamWriter
startNode(String) - Method in PrettyPrintXMLStreamWriter
startNode(String) - Method in XMLStreamWriter
startTag() - Method in PrettyPrintXMLStreamWriter
startTag() - Method in XMLStreamWriter
staticFlag - Field in SimpleCharStream
Whether parser is static.
storeGrailsWebRequest(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(Writer) - Constructor in StreamingMarkupWriter
STRING_STATE - Field in JsonParserConstants
Lexical state.
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(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(String) - Method in JSONTokener
Make a JSONException to signal a syntax error.

T

tabSize - Field in SimpleCharStream
TAG_CACHE - Field in GrailsApplicationAttributes
tagStack - Field in XMLStreamWriter
TE - Field in HttpHeaders
TEMPLATE_MODEL - Field in GrailsApplicationAttributes
TEXT_JSON - Field in MimeType
TEXT_XML - Field in MimeType
toArray(Object) - Method in JSONArray
toJSONArray(JSONArray) - Method in JSONObject
Produce a JSONArray containing the values of the members of this JSONObject.
toJSONObject(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
Describes the input token stream.
token - Field in JSONParser
Current token.
token_source - Field in JSONParser
Generated Token Manager.
Token(int, String) - Constructor in Token
Constructs a new token for the specified Image and Kind.
tokenImage - Field in JsonParserConstants
Literal token values.
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, String, char, int) - Constructor in TokenMgrError
Full Constructor.
toQueryString() - Method in GrailsParameterMap
Converts this parameter map into a query String.
toQueryString(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(GrailsWebRequest, String, def) - Method in ActionResultTransformer
Transforms an action result
trimToSize() - Method in JSONArray

U

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

V

value(Object) - Method in JSONWriter
Append an object value.
value(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

W

WARNING - Field in HttpHeaders
WEB_REQUEST - Field in GrailsApplicationAttributes
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
@author 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(Writer) - Method in JSONArray
Write the contents of the JSONArray as JSON text to a writer.
write(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
writeTo(Writer) - Method in IncludedContent
writeTo(Writer) - Method in JSONArray
writeTo(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(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 _