Groovy 2.2.0-beta-1
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

AbstractHttpServlet - Class in groovy.servlet
A base class dealing with common HTTP servlet API housekeeping aspects.
AbstractHttpServlet() - Constructor in AbstractHttpServlet
Initializes all fields with default values.

B


C

CONTENT_TYPE_TEXT_HTML - Field in AbstractHttpServlet
Content type of the HTTP response.
createGroovyScriptEngine() - Method in GroovyServlet
Hook method to setup the GroovyScriptEngine to use.

D


E

encoding - Field in AbstractHttpServlet
Encoding to use, becomes charset part of contentType.

F

forward(String) - Method in ServletBinding

G

get(PageContext, String) - Method in ServletCategory
getAt(PageContext, String) - Method in ServletCategory
getOutputStream() - Method in ServletBinding.ServletOutput
getResourceConnection(String) - Method in AbstractHttpServlet
Interface method for ResourceContainer.
getScriptUri(HttpServletRequest) - Method in AbstractHttpServlet
Returns the include-aware uri of the script or template file.
getScriptUriAsFile(HttpServletRequest) - Method in AbstractHttpServlet
Overrides the generic init method to set some debug flags.
getTemplate(URL) - Method in TemplateServlet
Gets the template created by the underlying engine parsing the request.
getVariable(String) - Method in ServletBinding
@return a writer, an output stream, a markup builder or another requested object
getVariables() - Method in ServletBinding
getWriter() - Method in ServletBinding.ServletOutput
GroovyServlet - Class in groovy.servlet
This servlet will run Groovy scripts as Groovlets.

H


I

INC_PATH_INFO - Field in AbstractHttpServlet
Servlet API include key name: path_info
INC_REQUEST_URI - Field in AbstractHttpServlet
INC_SERVLET_PATH - Field in AbstractHttpServlet
Servlet API include key name: servlet_path
include(String) - Method in ServletBinding
init(ServletConfig) - Method in AbstractHttpServlet
init(ServletConfig) - Method in GroovyServlet
Initialize the GroovyServlet.
init(ServletConfig) - Method in TemplateServlet
Initializes the servlet from hints the container passes.
initTemplateEngine(ServletConfig) - Method in TemplateServlet
Creates the template engine.

J


K


L


M


N


O


P

putAt(PageContext, String, Object) - Method in ServletCategory

Q


R

redirect(String) - Method in ServletBinding
reflection - Field in AbstractHttpServlet
Mirrors the static value of the reflection flag in MetaClass.
resourceNameMatcher - Field in AbstractHttpServlet
Either null or a compiled pattern matcher read from "resource.name.regex" and used in AbstractHttpServlet#getScriptUri(HttpServletRequest)#getScriptUri(HttpServletRequest).
resourceNameReplaceAll - Field in AbstractHttpServlet
The replace method to use on the matcher.
resourceNameReplacement - Field in AbstractHttpServlet
The replacement used by the resource name matcher.

S

service(HttpServletRequest, HttpServletResponse) - Method in GroovyServlet
Handle web requests to the GroovyServlet
service(HttpServletRequest, HttpServletResponse) - Method in TemplateServlet
Services the request with a response.
ServletBinding - Class in groovy.servlet
Servlet-specific binding extension to lazy load the writer or the output stream from the response.
ServletBinding.ServletOutput(HttpServletResponse) - Constructor in ServletBinding.ServletOutput
ServletBinding(HttpServletRequest, HttpServletResponse, ServletContext) - Method in ServletBinding
Initializes a servlet binding.
ServletCategory - Class in groovy.servlet
Servlet support.
servletContext - Field in AbstractHttpServlet
Servlet (or the web application) context.
set(PageContext, String, Object) - Method in ServletCategory
setVariable(String, Object) - Method in ServletBinding
setVariables(ServletBinding) - Method in AbstractHttpServlet
Override this method to set your variables to the Groovy binding.

T

TemplateServlet - Class in groovy.servlet
A generic servlet for serving (mostly HTML) templates.
TemplateServlet.TemplateCacheEntry(File, Template, boolean) - Constructor in TemplateServlet.TemplateCacheEntry
TemplateServlet() - Method in TemplateServlet
Create new TemplateServlet.
toString() - Method in TemplateServlet.TemplateCacheEntry

U


V

validate(File) - Method in TemplateServlet.TemplateCacheEntry
Checks the passed file attributes against those cached ones.
verbose - Field in AbstractHttpServlet
Controls almost all log output.

W

write(int) - Method in ServletBinding.InvalidOutputStream
Will always throw a GroovyBugError

X


Y


Z


_


Copyright © 2003-2013 The Codehaus. All rights reserved.