- 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
-
- getApplicationUri(ServletRequest) - Method in GrailsApplicationAttributes
-
- 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
-
- 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