org.gomba |
Package documentation
This package contains the main Gomba classes.
|
Java Source File Name | Type | Comment |
AbstractServlet.java | Class | Base class for Servlets that render data accessed via JDBC.
Context params:
- org.gomba.dataSource
- The default JNDI data source.
|
CustomHttpServletRequestWrapper.java | Class | Adds multipart form handling capabilities to an HTTPServletRequest using
Jakarta Commons FileUpload. |
CustomHttpServletResponseWrapper.java | Class | This class wraps an existing HttpServletResponse and captures its body in a
private Writer. |
DatumServlet.java | Class | Render a single datum accessed via JDBC. |
DispatcherServlet.java | Class | This Servlet forwards HTTP requests to other servlets. |
DocumentationServlet.java | Class | Servlet implementation to be used for automatic webservice documentation.
The generated documentation exposes sensitive information about the
implementation of the web service. |
ErrorServlet.java | Class | Servlet implemetation to be used as an "error page".
- doctype-public
- Specifies the public identifier to be used in the document type
declaration.
|
Expression.java | Class | An Expression is created from a string containing ${} parameters. |
LOBUpdateServlet.java | Class | Write a LOB to a JDBC data store. |
MissingParameterException.java | Class | Thrown when replacing parameters of an expression. |
MultiServlet.java | Class | This servlets dispatches the same request to mutiple servlets overriding the
original HTTP method and capturing the output of each servlet into the
request scope. |
ParameterDefinition.java | Class | Represents a parameter. |
ParameterDomain.java | Interface | Reprensents a domain containing named parameters. |
ParameterResolver.java | Class | This class holds context information used to resolve ${} parameters. |
Query.java | Class | Represents a JDBC query. |
QueryDefinition.java | Class | Defines a JDBC query. |
SingleQueryServlet.java | Class | Base class for servlets that perform a SELECT and render the results to the
HTTP response body.
Init params:
- query
- The SQL query to execute.
|
Transaction.java | Class | Represents a JDBC transaction spanned across multiple HTTP requests.
We didn't use HttpSession because we were not happy with the standard
unRESTful session tracking mechanisms (cookies, url rewriting). |
TransactionServlet.java | Class | This servlet implements transactions for RESTful web services. |
TransactorAbstractServlet.java | Class | Base class for servlets that support RESTful transactions. |
UpdateServlet.java | Class | Perform a write operation on a JDBC data store. |
XMLServlet.java | Class | Render data accessed via JDBC in XML syntax. |