A B C D E F G H I J L M N P Q R S T U V W X 

A

AbstractHandler - Class in dk.brics.jwig
Base class for handlers.
AbstractPersistable - Class in dk.brics.jwig.persistence
Implements the Persistable interface so an integer field can hold the ID of the object.
AbstractPersistable() - Constructor for class dk.brics.jwig.persistence.AbstractPersistable
 
AccessDeniedException - Exception in dk.brics.jwig
Exception thrown when a client is denied access to a requested resource.
AccessDeniedException() - Constructor for exception dk.brics.jwig.AccessDeniedException
Constructs a new exception.
AccessDeniedException(String) - Constructor for exception dk.brics.jwig.AccessDeniedException
Constructs a new exception.
add(WebApp) - Method in class dk.brics.jwig.WebSite
Adds a new web application to this web site.
addCookie(Cookie) - Method in class dk.brics.jwig.Response
Adds a cookie.
addCookie(Cookie, boolean) - Method in class dk.brics.jwig.WebContext
Adds a cookie to the response.
addResponseInvalidator(Object) - Static method in class dk.brics.jwig.WebContext
Registers the given object as observable for the response.
addSession(Session) - Method in class dk.brics.jwig.Response
Adds a session as relevant for the response.
augment() - Method in class dk.brics.jwig.WebContext
Augments the current XML response with script code, JWIG logo, and web app params.
AugmentedCache - Annotation Type in dk.brics.jwig
If a method is marked with augmented cache, the resulting responses are put in the cache not only separated by URL values but also by the separation string constructed by the WebSite.getCacheAugmentationString() method.
AuthorizationRequiredException - Exception in dk.brics.jwig
Exception thrown when a client should resend the request with HTTP Basic authentication information.
AuthorizationRequiredException(String) - Constructor for exception dk.brics.jwig.AuthorizationRequiredException
Constructs a new exception.

B

BadRequestException - Exception in dk.brics.jwig
Exception thrown when an HTTP request contains errors.
BadRequestException(String) - Constructor for exception dk.brics.jwig.BadRequestException
Constructs a new exception.
BadRequestException(String, Throwable) - Constructor for exception dk.brics.jwig.BadRequestException
Constructs a new exception.
Base64 - Class in dk.brics.jwig.util
Base64 encoding/decoding.
buildSessionFactory() - Static method in class dk.brics.jwig.persistence.HibernateQuerier
Build the session factory from the data in the configuration.

C

cache() - Method in class dk.brics.jwig.WebContext
Server cache web method.
CACHE_PRIORITY - Static variable in class dk.brics.jwig.WebContext
Priority for the server cache web method.
cachedResponses - Variable in class dk.brics.jwig.HandlerCache
 
call(JwigCurrentSessionContext) - Method in interface dk.brics.jwig.persistence.JwigCurrentSessionContextProxy.ConstructorCallBack
 
close() - Method in class dk.brics.jwig.persistence.FailingQuerier
 
close() - Method in class dk.brics.jwig.persistence.HibernateQuerier
 
close() - Method in interface dk.brics.jwig.persistence.Querier
 
close() - Method in class dk.brics.jwig.WebSite
Closes the hibernate session factory (if any) and calls the WebSite.destroy() method which may be overridden by the client.
ConflictException - Exception in dk.brics.jwig
Indicates that the request could not be processed because of conflict in the request, such as an edit conflict.
ConflictException() - Constructor for exception dk.brics.jwig.ConflictException
Constructs a new exception.
ConflictException(String) - Constructor for exception dk.brics.jwig.ConflictException
Constructs a new exception with the given message.
context - Static variable in class dk.brics.jwig.WebContext
 
createTicket(Response) - Method in class dk.brics.jwig.HandlerCache
 
CryptoHelper - Class in dk.brics.jwig.util
 
CryptoHelper() - Constructor for class dk.brics.jwig.util.CryptoHelper
 
currentSession() - Method in class dk.brics.jwig.persistence.JwigCurrentSessionContext
 

D

DBSession - Class in dk.brics.jwig.persistence
A DBSession serves the same purpose as a Session and provides no new members.
DBSession() - Constructor for class dk.brics.jwig.persistence.DBSession
 
decode(String) - Static method in class dk.brics.jwig.util.Base64
Decodes a byte array from Base64 format.
decode(char[]) - Static method in class dk.brics.jwig.util.Base64
Decodes a byte array from Base64 format.
decode(String) - Static method in class dk.brics.jwig.util.CryptoHelper
 
decode(String) - Static method in class dk.brics.jwig.util.QuotedString
Decodes the given quoted-string to a string.
decode(String) - Static method in class dk.brics.jwig.util.URLEncoding
URL-decodes the given string (with UTF-8).
decodeString(String) - Static method in class dk.brics.jwig.util.Base64
Decodes a string from Base64 format using the platform's default charset encoding.
decodeString(String, String) - Static method in class dk.brics.jwig.util.Base64
Decodes a string from Base64 format using the given charset encoding.
DELETE - Annotation Type in dk.brics.jwig
Specifies that this method is invoked when a DELETE request is sent from the client.
delete() - Method in class dk.brics.jwig.FileField
Deletes the underlying storage for a file item, including deleting any associated temporary disk file.
destroy() - Method in class dk.brics.jwig.AbstractHandler
Invoked when the current response is invalidated.
destroy() - Static method in class dk.brics.jwig.persistence.HibernateQuerier
Closes the session factory and releases all resources.
destroy() - Method in class dk.brics.jwig.Session
Invoked by the session manager on timeout.
destroy() - Method in class dk.brics.jwig.WebApp
Called on each web app when the website is closed.
destroy() - Method in class dk.brics.jwig.WebSite
Invoked when the JWIG server stops, for cleaning up after web apps.
destroy() - Method in class dk.brics.jwig.XMLProducer
Invoked when the current response is invalidated.
dk.brics.jwig - package dk.brics.jwig
Runtime system.
dk.brics.jwig.persistence - package dk.brics.jwig.persistence
Persistence (based on Hibernate).
dk.brics.jwig.sitemap - package dk.brics.jwig.sitemap
 
dk.brics.jwig.util - package dk.brics.jwig.util
Utility classes and functions.

E

Email - Class in dk.brics.jwig
An email message.
Email() - Constructor for class dk.brics.jwig.Email
Constructs a new empty email for the current email session.
encode(byte[]) - Static method in class dk.brics.jwig.util.Base64
Encodes a byte array into Base64 format.
encode(String) - Static method in class dk.brics.jwig.util.CryptoHelper
 
encode(String) - Static method in class dk.brics.jwig.util.QuotedString
Encodes the given string as a quoted-string.
encode(String) - Static method in class dk.brics.jwig.util.URLEncoding
URL-encodes the given string (with UTF-8).
encodeString(String) - Static method in class dk.brics.jwig.util.Base64
Encodes a string into Base64 format using the platform's default charset.
end() - Method in class dk.brics.jwig.Session
Ends this session and informs listeners.
equals(Object) - Method in class dk.brics.jwig.persistence.AbstractPersistable
 
equals(Object) - Method in class dk.brics.jwig.User
Checks whether this user is equal to the given one.
EventHandler - Class in dk.brics.jwig
Handler for HTML events.
EventHandler(Object...) - Constructor for class dk.brics.jwig.EventHandler
Constructs a new event handler.
EventHandler(boolean, Object...) - Constructor for class dk.brics.jwig.EventHandler
Constructs a new event handler with a JavaScript boolean value.
EventHandler(boolean, Session, Object...) - Constructor for class dk.brics.jwig.EventHandler
Constructs a new event handler with a JavaScript boolean value and a session.
EventHandler(Session) - Constructor for class dk.brics.jwig.EventHandler
Constructs a new event handler with a session.

F

factoryImplementor - Variable in class dk.brics.jwig.persistence.JwigCurrentSessionContext
 
FailingQuerier - Class in dk.brics.jwig.persistence
A querier that will respond to all queries with an exception.
FailingQuerier() - Constructor for class dk.brics.jwig.persistence.FailingQuerier
 
FileField - Class in dk.brics.jwig
File upload form field.
FileField(FileItem) - Constructor for class dk.brics.jwig.FileField
Constructs a new file upload field.
finalize() - Method in class dk.brics.jwig.HandlerCache
 
FormField - Class in dk.brics.jwig
Form field.

G

GET - Annotation Type in dk.brics.jwig
Specifies that this method is invoked when a GET request is sent from the client.
get(int) - Static method in class dk.brics.jwig.util.RandomString
Returns a random printable string.
get() - Static method in class dk.brics.jwig.WebApp
Returns the WebApp object for the current thread.
getBaseType(Persistable) - Method in class dk.brics.jwig.persistence.FailingQuerier
 
getBaseType(Persistable) - Method in class dk.brics.jwig.persistence.HibernateQuerier
 
getBaseType(Persistable) - Method in interface dk.brics.jwig.persistence.Querier
If the querier implementation uses an instrumented class for representing a persistable type, then the non-instrumented class of the object must be returned by this method.
getBytes() - Method in class dk.brics.jwig.FileField
Returns the contents of the file item as an array of bytes.
getCache() - Method in class dk.brics.jwig.WebSite
Return a new instance of the cache implementation that is used in this web site.
getCacheAugmentationString() - Method in class dk.brics.jwig.WebSite
Returns the string used to seperate two entries with the same URL in the cache.
getCacheAugmentedString(String) - Method in class dk.brics.jwig.WebContext
 
getClass(E) - Method in class dk.brics.jwig.persistence.FailingQuerier
 
getClass(E) - Method in class dk.brics.jwig.persistence.HibernateQuerier
 
getClass(E) - Method in interface dk.brics.jwig.persistence.Querier
Returns the class object of a persistable.
getConfig() - Static method in class dk.brics.jwig.persistence.HibernateQuerier
Gets the current configuration for Hibernate that will be used to build the session factory.
getContentType() - Method in class dk.brics.jwig.FileField
Returns the content type passed by the browser or null if not defined.
getCookies() - Method in class dk.brics.jwig.WebContext
Returns (non-null) array of cookies from the request.
getCurrentSessionContext() - Static method in class dk.brics.jwig.persistence.JwigCurrentSessionContext
Gets the object that is the current session context.
getErrorCode() - Method in exception dk.brics.jwig.AccessDeniedException
 
getErrorCode() - Method in exception dk.brics.jwig.AuthorizationRequiredException
 
getErrorCode() - Method in exception dk.brics.jwig.BadRequestException
 
getErrorCode() - Method in exception dk.brics.jwig.ConflictException
 
getErrorCode() - Method in exception dk.brics.jwig.ImATeapotException
 
getErrorCode() - Method in exception dk.brics.jwig.JavascriptDisabledException
 
getErrorCode() - Method in exception dk.brics.jwig.JWIGException
 
getErrorCode() - Method in exception dk.brics.jwig.MissingParameterException
 
getErrorCode() - Method in exception dk.brics.jwig.NotFoundException
 
getErrorCode() - Method in exception dk.brics.jwig.ServerBusyException
 
getErrorCode() - Method in exception dk.brics.jwig.SessionDefunctException
 
getETag() - Method in class dk.brics.jwig.Response
Returns the current ETag of this response.
getFactory() - Static method in class dk.brics.jwig.persistence.HibernateQuerier
Gets the session factory from the querier.
getField(String) - Method in class dk.brics.jwig.Parameters
Returns the FormField object for the given parameter name.
getFileName() - Method in class dk.brics.jwig.FileField
Returns the original filename in the client's filesystem, as provided by the browser (or other client software).
getHandler(String) - Method in class dk.brics.jwig.Response
Returns a registered handler, or null if not found.
getHandlerIdentifier() - Method in class dk.brics.jwig.AbstractHandler
Returns the URL for running this handler
getHandlerIdentifier() - Method in class dk.brics.jwig.EventHandler
Returns the JavaScript instruction for running this event handler.
getHandlers() - Method in class dk.brics.jwig.Response
Returns the registered handlers.
getId() - Method in class dk.brics.jwig.persistence.AbstractPersistable
 
getId() - Method in interface dk.brics.jwig.persistence.Persistable
Retrieves the ID for this object.
getID() - Method in class dk.brics.jwig.Session
Returns the ID of this session state object.
getId() - Method in exception dk.brics.jwig.SessionDefunctException
Returns the ID of the defunct session.
getIdFromProperty(Class<? extends Persistable>, String, String) - Method in class dk.brics.jwig.persistence.FailingQuerier
 
getIdFromProperty(Class<? extends Persistable>, String, String) - Method in class dk.brics.jwig.persistence.HibernateQuerier
 
getIdFromProperty(Class<? extends Persistable>, String, String) - Method in interface dk.brics.jwig.persistence.Querier
 
getInputStream() - Method in class dk.brics.jwig.FileField
Returns an InputStream that can be used to retrieve the contents of the file.
getInstance() - Static method in class dk.brics.jwig.persistence.FailingQuerier
Gets the instance of the place holder querier.
getLastModified() - Method in class dk.brics.jwig.Response
Returns the current Last-Modified timestamp of this response.
getList(String) - Method in class dk.brics.jwig.Parameters
Returns list of FormField objects for the given parameter name.
getListType(Method, int) - Static method in class dk.brics.jwig.util.ParameterNamer
Returns the contents type of a collection class argument.
getLogInfo() - Method in exception dk.brics.jwig.JWIGException
 
getMap() - Method in class dk.brics.jwig.Parameters
Returns the parameter map.
getMessagePage() - Method in exception dk.brics.jwig.AuthorizationRequiredException
 
getMessagePage() - Method in exception dk.brics.jwig.JWIGException
Returns the default rendering of this exception type.
getMessagePage() - Method in exception dk.brics.jwig.ServerBusyException
 
getMinutes() - Method in class dk.brics.jwig.Session
Returns the minutes-to-live (from when last refreshed).
getName() - Method in class dk.brics.jwig.FileField
Returns the original filename in the client's filesystem.
getObject(Class<E>, Integer) - Method in class dk.brics.jwig.persistence.FailingQuerier
 
getObject(Class<E>, Integer) - Method in class dk.brics.jwig.persistence.HibernateQuerier
 
getObject(Class<E>, Integer, boolean) - Method in class dk.brics.jwig.persistence.HibernateQuerier
 
getObject(Class<E>, Integer) - Method in interface dk.brics.jwig.persistence.Querier
Returns the instance of the given class uniquely determined by its ID.
getObject() - Method in class dk.brics.jwig.Response
Returns the payload
getPageName(String) - Method in class dk.brics.jwig.WebApp
Returns the name of the web method with the given annotated name.
getParameterNames(Method) - Static method in class dk.brics.jwig.util.ParameterNamer
Returns the list of parameter names of the given method.
getPassword() - Method in class dk.brics.jwig.User
Gets the password.
getProducer() - Method in class dk.brics.jwig.EventHandler
Creates an XML producer for this event handler.
getProperties() - Method in class dk.brics.jwig.WebApp
Returns the combined web app and web site configuration properties.
getProperties() - Method in class dk.brics.jwig.WebSite
Returns the web site configuration properties.
getProperty(String) - Method in class dk.brics.jwig.WebApp
Returns the web app configuration property value for the given name.
getProperty(String, T) - Method in class dk.brics.jwig.WebApp
Returns the configuration property value for the given name, with a default value.
getProperty(String) - Method in class dk.brics.jwig.WebSite
Returns the web site configuration property value for the given name.
getProperty(String, T) - Method in class dk.brics.jwig.WebSite
Returns the configuration property value for the given name, with a default value.
getPropertyFromId(Class<? extends Persistable>, String, Integer) - Method in class dk.brics.jwig.persistence.FailingQuerier
 
getPropertyFromId(Class<? extends Persistable>, String, Integer) - Method in class dk.brics.jwig.persistence.HibernateQuerier
 
getPropertyFromId(Class<? extends Persistable>, String, Integer) - Method in interface dk.brics.jwig.persistence.Querier
 
getQuerier() - Method in class dk.brics.jwig.WebSite
Gets the querier that should be used to query object from the database.
getRealm() - Method in exception dk.brics.jwig.AuthorizationRequiredException
Returns the realm string.
getRequestURL() - Static method in class dk.brics.jwig.WebContext
Returns the URL of the current request.
getResponse() - Static method in class dk.brics.jwig.WebContext
Returns the current response object.
getResult() - Method in class dk.brics.jwig.Response
 
getSecurityManager() - Method in class dk.brics.jwig.WebApp
Returns the security manager for this web app.
getServletContext() - Static method in class dk.brics.jwig.WebContext
Returns the ServletContext object.
getServletRequest() - Static method in class dk.brics.jwig.WebContext
Returns the HttpServletRequest object.
getServletResponse() - Static method in class dk.brics.jwig.WebContext
Returns the HttpServletResponse object.
getSessions() - Method in class dk.brics.jwig.Response
Returns the associated sessions.
getSize() - Method in class dk.brics.jwig.FileField
Returns the size of the file item.
getStatus() - Method in class dk.brics.jwig.Response
Returns the status code.
getString(String) - Method in class dk.brics.jwig.FileField
Returns the contents of the file item as a String, using the specified encoding.
getString() - Method in class dk.brics.jwig.FileField
Returns the contents of the file item as a String, using the system default encoding.
getText() - Method in class dk.brics.jwig.Response
Returns the plain-text payload.
getTimeout() - Method in class dk.brics.jwig.Session
Returns the current timeout for this session state object.
getUser() - Method in class dk.brics.jwig.WebContext
Gets the user for the request, using HTTP Basic authentication.
getUsername() - Method in class dk.brics.jwig.User
Gets the username.
getValue() - Method in class dk.brics.jwig.FileField
Returns the contents of the file item as a String, using the system default encoding.
getValue() - Method in class dk.brics.jwig.FormField
Returns the value of this field.
getValue(String) - Method in class dk.brics.jwig.Parameters
Returns the string value for the given parameter name.
getValue() - Method in class dk.brics.jwig.TextField
Returns the value of this field.
getWebAppParam(String, Class<E>) - Method in class dk.brics.jwig.WebContext
Returns the web app parameter of the given name.
getWebAppParam(String) - Method in class dk.brics.jwig.WebContext
Gets the string representation of the web app parameter with this name
getWebApps() - Method in class dk.brics.jwig.WebSite
Returns the list of web application objects of this web site.
getWebAppURL(boolean) - Static method in class dk.brics.jwig.WebContext
Generates a URL for the root of the current web application.
getWebSite() - Method in class dk.brics.jwig.WebContext
Returns the web site object.
getWebSiteURL(boolean) - Static method in class dk.brics.jwig.WebContext
Generates a URL for the root of the web site.
getWebSiteURL() - Static method in class dk.brics.jwig.WebContext
Generates a URL for the root of this website.
getXml() - Method in exception dk.brics.jwig.JWIGException
The XML to display to the user.
getXML() - Method in class dk.brics.jwig.Response
Returns the XML payload.

H

HandlerCache - Class in dk.brics.jwig
A special (simple) cache for regenerated responses.
HandlerCache() - Constructor for class dk.brics.jwig.HandlerCache
 
HANDLERS - Static variable in class dk.brics.jwig.WebContext
Priority to use for handlers.
handlers() - Method in class dk.brics.jwig.WebContext
Invoked automatically from generated XML pages for executing a handler.
handleUpdatedObjects() - Method in class dk.brics.jwig.WebContext
Invalidates pages in the cache based on which objects are updated
hashCode() - Method in class dk.brics.jwig.AbstractHandler
 
hashCode() - Method in class dk.brics.jwig.persistence.AbstractPersistable
 
hashCode() - Method in class dk.brics.jwig.User
Computes the hash code for this object.
hasPayload() - Method in class dk.brics.jwig.Response
 
HEAD - Annotation Type in dk.brics.jwig
Specifies that this method is invoked when a HEAD request is sent from the client.
HibernateQuerier - Class in dk.brics.jwig.persistence
A Querier for Hibernate connection to the database.
HibernateQuerier() - Constructor for class dk.brics.jwig.persistence.HibernateQuerier
 

I

ImATeapotException - Exception in dk.brics.jwig
Returns a 418 response code to the client.
ImATeapotException() - Constructor for exception dk.brics.jwig.ImATeapotException
Constructs a new exception.
ImATeapotException(String) - Constructor for exception dk.brics.jwig.ImATeapotException
Constructs a new exception with the given message.
init(Properties) - Static method in class dk.brics.jwig.persistence.HibernateQuerier
Creates configuration and reads the hibernate properties from jwig.properties in the webapp root folder.
init() - Method in class dk.brics.jwig.WebSite
Invoked when the JWIG server starts, for constructing web apps ( WebApp objects) and other initialization.
instanciated() - Static method in class dk.brics.jwig.persistence.JwigCurrentSessionContextProxy
 
isAugmented() - Method in class dk.brics.jwig.Response
Returns augmented status.
isAutoCloseEnabled() - Method in class dk.brics.jwig.persistence.JwigCurrentSessionContext
Returns whether or not the the session should be closed by transaction completion.
isAutoFlushEnabled() - Method in class dk.brics.jwig.persistence.JwigCurrentSessionContext
Returns whether or not the the session should be flushed prior to transaction completion.
isNoNull() - Method in class dk.brics.jwig.persistence.HibernateQuerier
 
isSecure() - Method in class dk.brics.jwig.WebContext
Checks whether the request was made using a secure channel, such as SSL/TLS.
isText() - Method in class dk.brics.jwig.Response
Checks whether the payload is plain-text.
isXML() - Method in class dk.brics.jwig.Response
Checks whether the payload is XML.

J

JavascriptDisabledException - Exception in dk.brics.jwig
Thrown if a feature requires the client to have JavaScript enabled but where it is disabled
JavascriptDisabledException() - Constructor for exception dk.brics.jwig.JavascriptDisabledException
 
JwigCurrentSessionContext - Class in dk.brics.jwig.persistence
A session context class for Hibernate that binds the life cycle of a persistent object to that of a session.
JwigCurrentSessionContext(SessionFactoryImplementor) - Constructor for class dk.brics.jwig.persistence.JwigCurrentSessionContext
 
JwigCurrentSessionContextProxy - Class in dk.brics.jwig.persistence
A proxy class that the rest of the framework can contact JwigCurrentSessionContext through to avoid unwanted dependencies on Hibernate where Hibernate is not used.
JwigCurrentSessionContextProxy() - Constructor for class dk.brics.jwig.persistence.JwigCurrentSessionContextProxy
 
JwigCurrentSessionContextProxy.ConstructorCallBack - Interface in dk.brics.jwig.persistence
Hibernate has a strange way of creating these session contexts.
JWIGException - Exception in dk.brics.jwig
JWIG related runtime exception.
JWIGException() - Constructor for exception dk.brics.jwig.JWIGException
Constructs a new exception.
JWIGException(String) - Constructor for exception dk.brics.jwig.JWIGException
Constructs a new exception with a message string.
JWIGException(String, Throwable) - Constructor for exception dk.brics.jwig.JWIGException
Constructs a new exception with a message string and a Throwable.
JWIGException(Throwable) - Constructor for exception dk.brics.jwig.JWIGException
Constructs a new exception with a Throwable.
jwigJS() - Method in class dk.brics.jwig.WebContext
 

L

log - Variable in class dk.brics.jwig.WebContext
Logger.

M

main() - Method in class dk.brics.jwig.WebContext
Main web method.
makeURL(String, Object...) - Static method in class dk.brics.jwig.WebContext
Generates a URL for the given web method within the same web site.
makeURL(Map<String, ?>, String, Object...) - Static method in class dk.brics.jwig.WebContext
Generates a URL for the given web method within the same web site, with web app arguments.
makeURL(Class<? extends WebApp>, String, Object...) - Static method in class dk.brics.jwig.WebContext
Generates a URL for the given web method within the same web site and in the given web app.
makeURL(boolean, String, Object...) - Static method in class dk.brics.jwig.WebContext
Generates a URL for the given web method within the same web site.
makeURL(boolean, Map<String, ?>, String, Object...) - Static method in class dk.brics.jwig.WebContext
Generates a URL for the given web method within the same web site, with web app arguments.
makeURL(boolean, Class<? extends WebApp>, String, Object...) - Static method in class dk.brics.jwig.WebContext
Generates a URL for the given web method within the same web site and in the given web app.
makeURL(boolean, Class<? extends WebApp>, Map<String, ?>, String, Object...) - Static method in class dk.brics.jwig.WebContext
Generates a URL for the given web method within the same web site and in the given web app, with web app arguments.
MAX_PRIORITY - Static variable in class dk.brics.jwig.WebContext
Priority for the main web method.
MissingParameterException - Exception in dk.brics.jwig
Thrown when a parameter is missing from a request where the parameter is marked with the RequiredParameter annotation.
MissingParameterException(String) - Constructor for exception dk.brics.jwig.MissingParameterException
 

N

next() - Static method in class dk.brics.jwig.WebContext
Invokes the next web method in the chain.
NoSuchObjectException - Exception in dk.brics.jwig.persistence
An exception indicating that the object that was queried was not found.
NoSuchObjectException(Integer, Class<? extends Persistable>) - Constructor for exception dk.brics.jwig.persistence.NoSuchObjectException
 
NotFoundException - Exception in dk.brics.jwig
Exception thrown by the web app when a ressource was not found.
NotFoundException() - Constructor for exception dk.brics.jwig.NotFoundException
Constructs a new exception.
NotFoundException(String) - Constructor for exception dk.brics.jwig.NotFoundException
Constructs a new exception with the given message.

P

PageName - Annotation Type in dk.brics.jwig.sitemap
A page name is used as the name of the web application page in the site map when presented to the user.
ParameterNamer - Class in dk.brics.jwig.util
Finds data about method parameters.
Parameters - Class in dk.brics.jwig
An object of type Parameters contains a number og request parameters that are sent by the client but whose names may not be known by the programmer at compile time.
Parameters(LinkedHashMap<String, List<FormField>>) - Constructor for class dk.brics.jwig.Parameters
Constructs a new parameters object.
ParamName - Annotation Type in dk.brics.jwig
Annotation for parameters of web methods.
ParentWebMethod - Annotation Type in dk.brics.jwig.sitemap
A parent web method is a web method that is logically above this annotated web methods in the web application page hierarchy.
Persistable - Interface in dk.brics.jwig.persistence
A Persistable is an object that can be persisted.
PersistenceException - Exception in dk.brics.jwig.persistence
An exception indicating that there was an error in the persistence system.
PersistenceException() - Constructor for exception dk.brics.jwig.persistence.PersistenceException
 
PersistenceException(String, Throwable) - Constructor for exception dk.brics.jwig.persistence.PersistenceException
 
PersistenceException(String) - Constructor for exception dk.brics.jwig.persistence.PersistenceException
 
PersistenceException(Throwable) - Constructor for exception dk.brics.jwig.persistence.PersistenceException
 
POST - Annotation Type in dk.brics.jwig
Specifies that this method is invoked when a POST request is sent from the client.
postInit() - Method in class dk.brics.jwig.persistence.FailingQuerier
 
postInit() - Method in class dk.brics.jwig.persistence.HibernateQuerier
 
postInit() - Method in interface dk.brics.jwig.persistence.Querier
Called during initialization of the system.
PRE_CACHE - Static variable in class dk.brics.jwig.WebContext
Priority to use for web methods to be executed before the server cache, such as authentication methods.
preInit(Properties) - Method in class dk.brics.jwig.persistence.FailingQuerier
 
preInit(Properties) - Method in class dk.brics.jwig.persistence.HibernateQuerier
 
preInit(Properties) - Method in interface dk.brics.jwig.persistence.Querier
Called during initialization of the system.
Priority - Annotation Type in dk.brics.jwig
Priority for web methods.
punish(String) - Static method in class dk.brics.jwig.WebContext
 
PUT - Annotation Type in dk.brics.jwig
Specifies that this method is invoked when a PUT request is sent from the client.

Q

Querier - Interface in dk.brics.jwig.persistence
The object querier is used by JWIG to query the object with a given ID given as argument in a request.
QueryProperty - Annotation Type in dk.brics.jwig
Indicates that the given property is used to represent the object in URLs instead of the database ID.
QuotedString - Class in dk.brics.jwig.util
HTTP quoted-string encoding/decoding.

R

RandomString - Class in dk.brics.jwig.util
Creates random printable strings.
refresh(Object) - Method in class dk.brics.jwig.Response
Refreshes the ETag and the Last-Modified timestamp.
refresh() - Method in class dk.brics.jwig.Session
Refreshes this session state object.
Regenerable - Annotation Type in dk.brics.jwig
Classes marked with regererable represent objects that live in the jwig cache and may be evicted at any point.
registerCallBack(JwigCurrentSessionContextProxy.ConstructorCallBack) - Static method in class dk.brics.jwig.persistence.JwigCurrentSessionContextProxy
 
removeResponse(String) - Method in class dk.brics.jwig.HandlerCache
 
RequiredParameter - Annotation Type in dk.brics.jwig
A required argument means that the web method will never be run if this argument is missing in the request.
Response - Class in dk.brics.jwig
Response for an HTTP request.
Response() - Constructor for class dk.brics.jwig.Response
Constructs a new empty response with status code 200 (OK).
Response(Response) - Constructor for class dk.brics.jwig.Response
Constructs a new empty response from an existing one.

S

sendEmail(Email) - Method in class dk.brics.jwig.WebContext
Sends an email using JavaMail.
sendEmails(List<Email>) - Method in class dk.brics.jwig.WebContext
Sends a collection of emails.
sendEmailsAsynchronously(List<Email>) - Method in class dk.brics.jwig.WebContext
Works like WebContext.sendEmails(java.util.List) but sends the emails in a separate thread.
sendError(int, String) - Method in class dk.brics.jwig.WebSite
Creates an error message string to be send to the client.
sendError(int, XML) - Method in class dk.brics.jwig.WebSite
 
sendError(int, XML, boolean) - Method in class dk.brics.jwig.WebSite
Creates an error message string to be send to the client.
sendResponse() - Static method in class dk.brics.jwig.WebContext
Sends the current response.
SerializableSession - Interface in dk.brics.jwig
Marker interface that tells JWIG to serialize the marked session when the server is closed and to restore it again when the server is up again.
ServerBusyException - Exception in dk.brics.jwig
Exception thrown when the server is overloaded.
ServerBusyException(String) - Constructor for exception dk.brics.jwig.ServerBusyException
Constructs a new exception.
Session - Class in dk.brics.jwig
Session state.
Session() - Constructor for class dk.brics.jwig.Session
Constructs a new session state object for the current response.
Session(int) - Constructor for class dk.brics.jwig.Session
Constructs a new session state object for the current response.
sessionCreated(Session) - Method in class dk.brics.jwig.persistence.JwigCurrentSessionContext
 
SessionDefunctException - Exception in dk.brics.jwig
Exception thrown when trying to fetch a non-existing session from the session state manager.
SessionDefunctException(String) - Constructor for exception dk.brics.jwig.SessionDefunctException
Constructs a new exception.
sessionEnded(Session) - Method in class dk.brics.jwig.persistence.JwigCurrentSessionContext
 
sessionRefreshed(Session) - Method in class dk.brics.jwig.persistence.JwigCurrentSessionContext
 
SessionThread - Class in dk.brics.jwig
Session thread.
SessionThread() - Constructor for class dk.brics.jwig.SessionThread
 
sessionTimeout(Session) - Method in class dk.brics.jwig.persistence.JwigCurrentSessionContext
 
setAugmented(boolean) - Method in class dk.brics.jwig.Response
Sets augmented status.
setAutoCloseEnabled(boolean) - Method in class dk.brics.jwig.persistence.JwigCurrentSessionContext
Sets whether or not the the session should be closed by transaction completion.
setAutoFlushEnabled(boolean) - Method in class dk.brics.jwig.persistence.JwigCurrentSessionContext
Sets whether or not the the session should be flushed prior to transaction completion.
setContentType(String) - Method in class dk.brics.jwig.Response
Sets the Content-Type.
setErrorPage(XML) - Method in exception dk.brics.jwig.JWIGException
Sets the error page that is shown to the user.
setHandler(String, AbstractHandler) - Method in class dk.brics.jwig.Response
Registers a handler for this response.
setHeaders(HttpServletResponse) - Method in exception dk.brics.jwig.AuthorizationRequiredException
 
setHeaders(HttpServletResponse) - Method in exception dk.brics.jwig.JWIGException
 
setHeaders(HttpServletResponse) - Method in exception dk.brics.jwig.ServerBusyException
 
setHeaders(HttpServletResponse) - Method in exception dk.brics.jwig.SessionDefunctException
 
setId(Integer) - Method in class dk.brics.jwig.persistence.AbstractPersistable
 
setLatestReturnValue(XML) - Method in class dk.brics.jwig.EventHandler
Invoked by the runtime system after the run method has been invoked to store the resulting XML value for the XML producer, and then notifies listeners of the XML producer.
setNoNull(boolean) - Method in class dk.brics.jwig.persistence.HibernateQuerier
If noNull is set then an exception will be thrown if no object with the given Id exists when querying with getObject.
setPassword(String) - Method in class dk.brics.jwig.User
Sets the password.
setProperty(String, T) - Method in class dk.brics.jwig.WebApp
Sets a web app configuration property.
setProperty(String, Object) - Method in class dk.brics.jwig.WebSite
Sets a web site configuration property.
setResult(Object) - Method in class dk.brics.jwig.Response
 
setStatus(int) - Method in class dk.brics.jwig.Response
Sets the status code.
setText(String) - Method in class dk.brics.jwig.Response
Sets the payload to the given plain-text value.
setUsername(String) - Method in class dk.brics.jwig.User
Sets the username.
setXML(XML) - Method in class dk.brics.jwig.Response
Sets the payload to the given XML value.
SubmitHandler - Class in dk.brics.jwig
Handler for form submit requests.
SubmitHandler(Object...) - Constructor for class dk.brics.jwig.SubmitHandler
Constructs a new submit handler for the current page.

T

TextField - Class in dk.brics.jwig
Text form field (or equivalent).
TextField(String) - Constructor for class dk.brics.jwig.TextField
Constructs a new text form field.
threadDismissed(Thread) - Method in class dk.brics.jwig.persistence.JwigCurrentSessionContext
 
threadDispatched(Thread) - Method in class dk.brics.jwig.persistence.JwigCurrentSessionContext
 
toString() - Method in class dk.brics.jwig.AbstractHandler
 
toString() - Method in class dk.brics.jwig.Session
Returns the ID of this session state object.
toString() - Method in class dk.brics.jwig.User
Returns a string describing this user information.
touchSessions(Session[]) - Method in class dk.brics.jwig.WebContext
Invoked automatically from generated XML pages for refreshing active sessions.
toXML() - Method in class dk.brics.jwig.persistence.AbstractPersistable
 
toXML() - Method in class dk.brics.jwig.XMLProducer
Returns an XML value obtained by invoking run, together with a JavaScript instruction for automatic updating.
TRACE - Annotation Type in dk.brics.jwig
Specifies that this method is invoked when a TRACE request is sent from the client.
transportSessionHandlers() - Method in class dk.brics.jwig.WebContext
If a piece of XML contains a handler and this piece of XML is stored in a session between requests, we need to make sure that the handler is transported from one request to the next.

An example of this pattern exists in the guessing game example of jwig, where XML is stored in the session and updated from one request to the next.

U

UnsupportedMediaTypeException - Exception in dk.brics.jwig
The request entity has a media type which the server or resource does not support.
UnsupportedMediaTypeException() - Constructor for exception dk.brics.jwig.UnsupportedMediaTypeException
Constructs a new exception.
UnsupportedMediaTypeException(String) - Constructor for exception dk.brics.jwig.UnsupportedMediaTypeException
Constructs a new exception with the given message.
update(Object) - Static method in class dk.brics.jwig.WebContext
Informs observers that the given object has been updated.
update() - Method in class dk.brics.jwig.XMLProducer
Invoked when a new result has been computed.
URLEncoding - Class in dk.brics.jwig.util
URL-encoding/decoding.
URLPattern - Annotation Type in dk.brics.jwig
URL patterns for WebApp classes and web methods.
User - Class in dk.brics.jwig
Username and password for a user.
User(String, String) - Constructor for class dk.brics.jwig.User
Constructs a new user object.

V

validate() - Method in class dk.brics.jwig.SubmitHandler
 
validatedFormFields() - Method in class dk.brics.jwig.SubmitHandler
 
valueOf(String) - Static method in class dk.brics.jwig.Session
Refreshes and returns the session object of the given ID via the session state manager.

W

WebApp - Class in dk.brics.jwig
Abstract base class for JWIG web applications.
WebApp() - Constructor for class dk.brics.jwig.WebApp
Constructs a new web application object.
WebContext - Class in dk.brics.jwig
Context for web execution.
WebSite - Class in dk.brics.jwig
Abstract base class for JWIG web sites.
WebSite() - Constructor for class dk.brics.jwig.WebSite
Constructs a new web site object.
write(File) - Method in class dk.brics.jwig.FileField
A convenience method to write an uploaded item to disk.
write(HttpServletRequest, HttpServletResponse) - Method in class dk.brics.jwig.Response
Writes this response as HTTP response to the client and closes the response.

X

XMLProducer - Class in dk.brics.jwig
Handler that produces XML data when an object it depends on has been changed.
XMLProducer(Object...) - Constructor for class dk.brics.jwig.XMLProducer
Constructs a new XML producer.
A B C D E F G H I J L M N P Q R S T U V W X 

Copyright © 2008-2012 Anders Møller & Mathias Schwarz.