- DBContext - Class in dk.brics.jwig.persistence
-
Context in which JWIG maps the running program to a database session.
- DBContext() - Constructor for class dk.brics.jwig.persistence.DBContext
-
- 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.
- DependencyMap - Class in dk.brics.jwig.server.cache
-
The dependency map contains a map from objects to cached responses and XMLProducers that depend on them.
- DependencyMap() - Constructor for class dk.brics.jwig.server.cache.DependencyMap
-
- deserializeArgument(Object[], Class<E>, String) - Method in class dk.brics.jwig.server.RequestManager
-
- deserializeArgument(Object[], Class<?>, String, boolean, boolean, Class<? extends Collection<?>>) - Method in class dk.brics.jwig.server.RequestManager
-
Deserializes an argument, i.e.
- 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 interface dk.brics.jwig.server.cache.Cache
-
Clears the cache.
- destroy() - Method in class dk.brics.jwig.server.cache.EHCache
-
- destroy() - Method in class dk.brics.jwig.server.cache.HashMapCache
-
- destroy() - Method in class dk.brics.jwig.server.comet.Synchronizer
-
Invoked by the servlet engine when stopping.
- destroy() - Method in class dk.brics.jwig.server.Dispatcher
-
Invoked by the servlet engine when stopping.
- destroy() - Method in class dk.brics.jwig.server.resin.ResinCometHandler
-
Invoked when the handler is destroyed.
- destroy() - Method in class dk.brics.jwig.server.SessionManager
-
Stops this session manager.
- destroy() - Static method in class dk.brics.jwig.server.ThreadContext
-
Resets all thread context.
- destroy() - Method in class dk.brics.jwig.server.tomcat6.TomcatCometHandler
-
Invoked when the handler is destroyed.
- 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.
- DirectObjectSecurityManager - Interface in dk.brics.jwig.persistence.security
-
The direct object security manager is responsible for limiting the
access to data referenced by and ID in URL's or forms.
- DirectObjectSecurityManagerImpl - Class in dk.brics.jwig.persistence.security
-
- DirectObjectSecurityManagerImpl(WebApp, Querier) - Constructor for class dk.brics.jwig.persistence.security.DirectObjectSecurityManagerImpl
-
- Dispatcher - Class in dk.brics.jwig.server
-
Dispatcher servlet.
- Dispatcher() - Constructor for class dk.brics.jwig.server.Dispatcher
-
Constructs a new dispatcher.
- DispatchListener - Interface in dk.brics.jwig.server
-
Listener for dispatch events.
- dk.brics.jwig - package dk.brics.jwig
-
Runtime system.
- dk.brics.jwig.analysis - package dk.brics.jwig.analysis
-
- dk.brics.jwig.analysis.graph - package dk.brics.jwig.analysis.graph
-
- dk.brics.jwig.analysis.xact - package dk.brics.jwig.analysis.xact
-
- dk.brics.jwig.persistence - package dk.brics.jwig.persistence
-
Persistence (based on Hibernate).
- dk.brics.jwig.persistence.security - package dk.brics.jwig.persistence.security
-
- dk.brics.jwig.server - package dk.brics.jwig.server
-
Internal components of the runtime system.
- dk.brics.jwig.server.cache - package dk.brics.jwig.server.cache
-
Cache control.
- dk.brics.jwig.server.comet - package dk.brics.jwig.server.comet
-
The server part of the Comet system.
- dk.brics.jwig.server.resin - package dk.brics.jwig.server.resin
-
Resin specific runtime system components.
- dk.brics.jwig.server.tomcat6 - package dk.brics.jwig.server.tomcat6
-
Tomcat 6 specific runtime system components.
- dk.brics.jwig.sitemap - package dk.brics.jwig.sitemap
-
- dk.brics.jwig.util - package dk.brics.jwig.util
-
Utility classes and functions.
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class dk.brics.jwig.server.Dispatcher
-
Invoked by the clients via the servlet engine on each request.
- GET - Annotation Type in dk.brics.jwig
-
Specifies that this method is invoked when a GET request is sent from the client.
- get(String) - Method in interface dk.brics.jwig.server.cache.Cache
-
Looks for a cached response for the given URL.
- get(String) - Method in class dk.brics.jwig.server.cache.EHCache
-
- get(String) - Method in class dk.brics.jwig.server.cache.HashMapCache
-
- get(String, T) - Static method in class dk.brics.jwig.server.Config
-
Looks up the current configuration for the given name, with a default value.
- get(String) - Method in class dk.brics.jwig.server.SessionManager
-
Finds the session of the given ID.
- get() - Static method in class dk.brics.jwig.server.ThreadContext
-
Returns the thread context for the current thread.
- 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.
- getActiveThread() - Method in class dk.brics.jwig.persistence.DBContext
-
- getAdditionalSchemas() - Method in class dk.brics.jwig.analysis.xact.JWIGConfiguration
-
- getAllStates() - Method in class dk.brics.jwig.analysis.graph.StateMachine
-
- 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.
- getBaseURL(boolean) - Static method in class dk.brics.jwig.server.ThreadContext
-
Returns the base URL.
- getBytes() - Method in class dk.brics.jwig.FileField
-
Returns the contents of the file item as an array of bytes.
- getCache() - Static method in class dk.brics.jwig.server.ThreadContext
-
Returns the cache.
- 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
-
- getCachedPropertyValues() - Method in class dk.brics.jwig.server.ThreadContext
-
- 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.
- getClient(HttpServletRequest) - Static method in class dk.brics.jwig.server.Dispatcher
-
Describes the client location (for logging).
- 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.
- getCurrentCacheTransaction() - Method in class dk.brics.jwig.server.cache.DependencyMap
-
- getCurrentCacheTransaction() - Method in class dk.brics.jwig.server.ThreadContext
-
- getCurrentCacheTransaction() - Method in class dk.brics.jwig.server.ThreadContext.InvocationContext
-
- getCurrentContext() - Method in class dk.brics.jwig.server.ThreadContext.InvocationContext
-
- getCurrentInvocationContext() - Method in class dk.brics.jwig.server.ThreadContext
-
- getCurrentResult() - Method in class dk.brics.jwig.server.ThreadContext
-
Gets the result that is being returned through the filter chain.
- getCurrentSessionContext() - Static method in class dk.brics.jwig.persistence.JwigCurrentSessionContext
-
Gets the object that is the current session context.
- getDependencyMap() - Static method in class dk.brics.jwig.server.ThreadContext
-
Returns the dependency map.
- getDirtyObjects() - Method in class dk.brics.jwig.server.cache.CacheTransaction
-
- getDispatcher() - Static method in class dk.brics.jwig.server.ThreadContext
-
- getEmailSession() - Method in class dk.brics.jwig.server.RequestManager
-
Returns the email session.
- getEmailSession() - Static method in class dk.brics.jwig.server.ThreadContext
-
- 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.
- getETag(Object) - Method in class dk.brics.jwig.server.ThreadContext
-
Returns or creates an etag for the object o.
- getEventType() - Method in interface dk.brics.jwig.server.comet.CometEvent
-
Returns the event type.
- 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).
- getFullRequestPath() - Method in class dk.brics.jwig.server.ThreadContext
-
- getHandler(String) - Method in class dk.brics.jwig.Response
-
Returns a registered handler, or null if not found.
- getHandlerCache() - Static method in class dk.brics.jwig.server.ThreadContext
-
- 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.
- getHiearchy() - Method in class dk.brics.jwig.analysis.JwigResolver
-
- getHttpMethods() - Method in class dk.brics.jwig.server.RegisteredMethod
-
- 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
-
- getInitialState(SootMethod) - Method in class dk.brics.jwig.analysis.graph.StateMachine
-
Gets the state for the web method.
- getInitialStates() - Method in class dk.brics.jwig.analysis.graph.StateMachine
-
- 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.
- getLeastCommonSupertypeOf(RefType, RefType) - Method in class dk.brics.jwig.analysis.JwigResolver
-
- 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.
- getMatchedWebMethods() - Method in class dk.brics.jwig.server.ThreadContext
-
- 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
-
- getMethod() - Method in class dk.brics.jwig.analysis.graph.State
-
- getMethod() - Method in class dk.brics.jwig.server.RegisteredMethod
-
Returns the actual method.
- getMethodReturnType(SootMethod, String) - Method in class dk.brics.jwig.analysis.xact.JWIGConfiguration
-
- 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
- getObjectPageMap() - Method in class dk.brics.jwig.server.cache.CacheTransaction
-
- getOrigin() - Method in class dk.brics.jwig.analysis.graph.AbstractTransition
-
- getOrigin() - Method in interface dk.brics.jwig.analysis.graph.Transition
-
- getPageName(String) - Method in class dk.brics.jwig.WebApp
-
Returns the name of the web method with the given annotated name.
- getPageObjectMap() - Method in class dk.brics.jwig.server.cache.CacheTransaction
-
- getParameterNames(Method) - Method in class dk.brics.jwig.server.ParamNameGetter
-
Gets the parameter names for the given method.
- getParameterNames() - Method in class dk.brics.jwig.server.RegisteredMethod
-
Returns the parameter names.
- getParameterNames(Method) - Static method in class dk.brics.jwig.util.ParameterNamer
-
Returns the list of parameter names of the given method.
- getParameters() - Method in class dk.brics.jwig.server.PatternMatcher
-
- getParsed_request() - Method in class dk.brics.jwig.server.ThreadContext
-
- getPassword() - Method in class dk.brics.jwig.User
-
Gets the password.
- getPattern() - Method in class dk.brics.jwig.server.PatternMatcher
-
Returns the pattern of this pattern matcher.
- getPatternMatcher() - Method in class dk.brics.jwig.server.RegisteredMethod
-
Returns the pattern matcher.
- getPatternmatcher() - Method in class dk.brics.jwig.server.RequestManager
-
- getPossibleTargets(SootMethod) - Method in class dk.brics.jwig.analysis.JwigResolver
-
- getPredecessors(State) - Method in class dk.brics.jwig.analysis.graph.PredecessorResolver
-
- getPrefixLength() - Method in class dk.brics.jwig.server.ThreadContext.InvocationContext
-
- getProducer() - Method in class dk.brics.jwig.EventHandler
-
Creates an XML producer for this event handler.
- getProducer() - Method in class dk.brics.jwig.server.ThreadContext
-
Returns the current XML producer, or null if none.
- getProperties() - Method in class dk.brics.jwig.server.Config
-
Returns the property map.
- 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.server.Config
-
Returns the configuration property value for the given name.
- 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.
- getReferer() - Method in class dk.brics.jwig.server.ThreadContext
-
- getRegisteredMethod() - Method in class dk.brics.jwig.analysis.graph.WebMethodTransition
-
- getRequestManager() - Method in class dk.brics.jwig.server.RegisteredMethod
-
- getRequestManager() - Method in class dk.brics.jwig.server.ThreadContext
-
Returns the web app request manager.
- getRequestmanager() - Method in class dk.brics.jwig.server.ThreadContext.InvocationContext
-
- getRequestManagers() - Static method in class dk.brics.jwig.server.ThreadContext
-
Returns the list of request managers.
- getRequestURL() - Method in class dk.brics.jwig.server.ThreadContext
-
Returns the request URL.
- getRequestURL() - Static method in class dk.brics.jwig.WebContext
-
Returns the URL of the current request.
- getResponse() - Method in class dk.brics.jwig.server.ThreadContext
-
Returns the response object.
- getResponse() - Static method in class dk.brics.jwig.WebContext
-
Returns the current response object.
- getResult() - Method in class dk.brics.jwig.Response
-
- getResultIfAny() - Method in class dk.brics.jwig.server.ThreadContext
-
- 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.
- getServletHome() - Static method in class dk.brics.jwig.server.ThreadContext
-
Returns the file system path for the servlet home directory.
- getServletParams() - Method in class dk.brics.jwig.server.ThreadContext
-
Returns the servlet parameter map.
- getServletRequest() - Method in class dk.brics.jwig.server.ThreadContext
-
Returns the HTTP request.
- getServletRequest() - Static method in class dk.brics.jwig.WebContext
-
Returns the HttpServletRequest
object.
- getServletResponse() - Method in class dk.brics.jwig.server.ThreadContext
-
Returns the HTTP response.
- getServletResponse() - Static method in class dk.brics.jwig.WebContext
-
Returns the HttpServletResponse
object.
- getSessionManager() - Static method in class dk.brics.jwig.server.ThreadContext
-
Returns the session manager.
- 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.
- getSootMethod(SootClass, Method) - Method in class dk.brics.jwig.analysis.JwigResolver
-
- getSootMethod(Method) - Method in class dk.brics.jwig.analysis.JwigResolver
-
- getSootType(Class<?>) - Method in class dk.brics.jwig.analysis.JwigResolver
-
- getStateMachine(Class<? extends WebSite>) - Method in class dk.brics.jwig.analysis.GraphAnalyzer
-
- 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.
- getSynchronizer() - Static method in class dk.brics.jwig.server.ThreadContext
-
Returns the synchronizer.
- getTarget() - Method in class dk.brics.jwig.analysis.graph.AbstractTransition
-
- getTarget() - Method in class dk.brics.jwig.analysis.graph.SelfTransition
-
- getTarget() - Method in interface dk.brics.jwig.analysis.graph.Transition
-
- getText() - Method in class dk.brics.jwig.Response
-
Returns the plain-text payload.
- getText() - Method in class dk.brics.jwig.server.PlaintextPayload
-
Returns the plain-text value.
- getThrowable() - Method in class dk.brics.jwig.server.ThreadContext
-
- getThrowable() - Method in class dk.brics.jwig.server.ThreadContext.InvocationContext
-
- getTimeout() - Method in class dk.brics.jwig.Session
-
Returns the current timeout for this session state object.
- getTransitions() - Method in class dk.brics.jwig.analysis.graph.State
-
- getUpdatedObjects() - Method in class dk.brics.jwig.server.cache.CacheTransaction
-
- getUrl() - Method in class dk.brics.jwig.server.cache.CacheObject
-
- 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 interface dk.brics.jwig.server.Payload
-
Returns the value of the payload.
- getValue() - Method in class dk.brics.jwig.server.PlaintextPayload
-
- getValue() - Method in class dk.brics.jwig.server.XMLPayload
-
- getValue() - Method in class dk.brics.jwig.TextField
-
Returns the value of this field.
- getWebApp() - Method in class dk.brics.jwig.server.RequestManager
-
Returns the web app of this web app request manager.
- getWebapp_params() - Method in class dk.brics.jwig.server.ThreadContext.InvocationContext
-
- 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
- getWebAppParams() - Method in class dk.brics.jwig.server.ThreadContext
-
Returns the web app parameters.
- getWebApps() - Method in class dk.brics.jwig.WebSite
-
Returns the list of web application objects of this web site.
- getWebAppURL(Map<String, String[]>) - Method in class dk.brics.jwig.server.RequestManager
-
Returns the URL prefix for this web app.
- getWebAppURL(boolean, Map<String, String[]>) - Method in class dk.brics.jwig.server.RequestManager
-
Returns the URL prefix for this web app.
- getWebAppURL(boolean) - Static method in class dk.brics.jwig.WebContext
-
Generates a URL for the root of the current web application.
- getWebMethods() - Method in class dk.brics.jwig.server.RequestManager
-
Returns the list of web methods.
- getWebSite() - Static method in class dk.brics.jwig.server.ThreadContext
-
Returns the web site.
- getWebSite() - Method in class dk.brics.jwig.WebContext
-
Returns the web site object.
- getWebSiteURL(boolean) - Method in class dk.brics.jwig.server.RequestManager
-
Returns the URL prefix for the web site.
- 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.
- getXML() - Method in class dk.brics.jwig.server.XMLPayload
-
Returns the XML value.
- GraphAnalyzer - Class in dk.brics.jwig.analysis
-
- GraphAnalyzer() - Constructor for class dk.brics.jwig.analysis.GraphAnalyzer
-
- id - Variable in class dk.brics.jwig.server.cache.ProxyObject
-
- 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.
- InconsistentDependencyException - Exception in dk.brics.jwig.server.cache
-
Thrown if there is a consistency problem in the way a generated page uses the cache.
- InconsistentDependencyException() - Constructor for exception dk.brics.jwig.server.cache.InconsistentDependencyException
-
- InconsistentDependencyException(Throwable) - Constructor for exception dk.brics.jwig.server.cache.InconsistentDependencyException
-
- InconsistentDependencyException(String) - Constructor for exception dk.brics.jwig.server.cache.InconsistentDependencyException
-
- InconsistentDependencyException(String, Throwable) - Constructor for exception dk.brics.jwig.server.cache.InconsistentDependencyException
-
- 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.server.comet.Synchronizer
-
Invoked by the servlet engine when starting.
- init(FilterConfig) - Method in class dk.brics.jwig.server.Dispatcher
-
Invoked by the servlet engine when starting.
- init() - Method in class dk.brics.jwig.server.resin.ResinCometHandler
-
Invoked when the handler is initialized.
- init(String, String, Cache, List<RequestManager>, SessionManager, DependencyMap, String, Dispatcher) - Static method in class dk.brics.jwig.server.ThreadContext
-
Initializes the shared thread context.
- init() - Method in class dk.brics.jwig.server.tomcat6.TomcatCometHandler
-
Invoked when the handler is initialized.
- 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
-
- introspectWebAppClass(Class<? extends WebApp>) - Method in class dk.brics.jwig.server.RequestManager
-
Finds the web methods for the given web app class.
- invoke(Method, Object, Object[]) - Method in class dk.brics.jwig.server.RequestManager
-
Invokes the given web/handler method.
- invokeHandlerMethod(AbstractHandler, String) - Method in class dk.brics.jwig.server.RequestManager
-
Invokes the handler run
method.
- invokeHandlerValidationMethod(SubmitHandler) - Method in class dk.brics.jwig.server.RequestManager
-
- invokeNextWebMethod() - Method in class dk.brics.jwig.server.Dispatcher
-
Invokes the next applicable web method.
- invokeRun() - Method in class dk.brics.jwig.XMLProducer
-
Invokes the run
and returns the XML result.
- 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.
- isCacheAugmented() - Method in class dk.brics.jwig.server.ThreadContext.InvocationContext
-
- isCacheAugmented() - Method in class dk.brics.jwig.server.ThreadContext
-
- isDone() - Method in class dk.brics.jwig.server.ThreadContext.InvocationContext
-
- isDone() - Method in class dk.brics.jwig.server.ThreadContext
-
Returns true if the application has generated and returned a response.
- isExternallyCallable(SootMethod) - Method in class dk.brics.jwig.analysis.xact.JWIGConfiguration
-
- isGetMode() - Method in class dk.brics.jwig.server.cache.CacheTransaction
-
- isHandler() - Method in class dk.brics.jwig.analysis.graph.State
-
- isInRequestContext() - Static method in class dk.brics.jwig.server.ThreadContext
-
Returns true if the calling thread is bound to a request context, that is the current thread is the receiver thread for
a request from the client.
- isInSession() - Method in class dk.brics.jwig.analysis.graph.State
-
- isNoNull() - Method in class dk.brics.jwig.persistence.HibernateQuerier
-
- isPunished() - Method in class dk.brics.jwig.server.ThreadContext
-
- isSecure() - Method in class dk.brics.jwig.WebContext
-
Checks whether the request was made using a secure channel, such as
SSL/TLS.
- isSession(SootClass) - Method in class dk.brics.jwig.analysis.JwigResolver
-
- isSessionMethod(SootMethod) - Method in class dk.brics.jwig.analysis.JwigResolver
-
- isSubmitHandler(SootClass) - Method in class dk.brics.jwig.analysis.JwigResolver
-
- isText() - Method in class dk.brics.jwig.Response
-
Checks whether the payload is plain-text.
- isWebApp(SootClass) - Method in class dk.brics.jwig.analysis.JwigResolver
-
- isXML() - Method in class dk.brics.jwig.Response
-
Checks whether the payload is XML.
- 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.
- pageRemovedFromCache(String) - Method in class dk.brics.jwig.server.cache.DependencyMap
-
- 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.
- ParamNameGetter - Class in dk.brics.jwig.server
-
Gets methods parameter names.
- ParamNameGetter() - Constructor for class dk.brics.jwig.server.ParamNameGetter
-
Constructs a new method parameter name getter.
- 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.
- PatternMatcher - Class in dk.brics.jwig.server
-
- PatternMatcher(String, boolean, boolean) - Constructor for class dk.brics.jwig.server.PatternMatcher
-
Constructs a new pattern matcher.
- Payload - Interface in dk.brics.jwig.server
-
Payload for a response.
- 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
-
- PlaintextPayload - Class in dk.brics.jwig.server
-
- PlaintextPayload(String) - Constructor for class dk.brics.jwig.server.PlaintextPayload
-
Constructs a new plain-text payload.
- POST - Annotation Type in dk.brics.jwig
-
Specifies that this method is invoked when a POST request is sent from the client.
- postFlush(Iterator) - Method in class dk.brics.jwig.server.cache.CacheInterceptor
-
- 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.
- PredecessorResolver - Class in dk.brics.jwig.analysis.graph
-
- PredecessorResolver(StateMachine) - Constructor for class dk.brics.jwig.analysis.graph.PredecessorResolver
-
- 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.
- process(String) - Method in class dk.brics.jwig.AbstractHandler
-
Invokes the run
method of the handler.
- process(String, String, HttpServletRequest, HttpServletResponse) - Method in class dk.brics.jwig.server.Dispatcher
-
Processes the given request with this web app.
- process(String) - Method in class dk.brics.jwig.XMLProducer
-
Invokes the run
method of the handler, caches the result, and sends it to the client.
- ProxyObject - Class in dk.brics.jwig.server.cache
-
A proxy object is a light weight version of a persistable object.
- ProxyObject(Querier, Persistable) - Constructor for class dk.brics.jwig.server.cache.ProxyObject
-
- punish(String) - Static method in class dk.brics.jwig.WebContext
-
- PureTransition - Class in dk.brics.jwig.analysis.graph
-
A pure state is a state in the state machine where the corresponding web method is side-effect-less.
- PureTransition() - Constructor for class dk.brics.jwig.analysis.graph.PureTransition
-
- PUT - Annotation Type in dk.brics.jwig
-
Specifies that this method is invoked when a PUT request is sent from the client.
- put(String, Response) - Method in interface dk.brics.jwig.server.cache.Cache
-
Caches the given response.
- put(String, Response) - Method in class dk.brics.jwig.server.cache.EHCache
-
- put(String, Response) - Method in class dk.brics.jwig.server.cache.HashMapCache
-
- SelfTransition - Class in dk.brics.jwig.analysis.graph
-
A transition from a state to itself.
- SelfTransition() - Constructor for class dk.brics.jwig.analysis.graph.SelfTransition
-
- send(Response) - Method in class dk.brics.jwig.server.Dispatcher
-
Sends the given response.
- sendEmail(Email) - Method in class dk.brics.jwig.WebContext
-
- 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
-
- 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.
- service(ServletRequest, ServletResponse, CometController) - Method in class dk.brics.jwig.server.resin.ResinCometHandler
-
Invoked by the clients via the servlet engine on BEGIN event.
- 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
-
- sessionCreated(Session) - Method in interface dk.brics.jwig.server.SessionManagerListener
-
Invoked by the session manager when a session is created.
- 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
-
- sessionEnded(Session) - Method in interface dk.brics.jwig.server.SessionManagerListener
-
Invoked by the session manager when a session is ended in a normal way (not by timeout).
- SessionManager - Class in dk.brics.jwig.server
-
Session state manager.
- SessionManager(ServletContext) - Constructor for class dk.brics.jwig.server.SessionManager
-
Constructs a new session manager.
- SessionManager.PersistentSessions - Class in dk.brics.jwig.server
-
- SessionManager.PersistentSessions() - Constructor for class dk.brics.jwig.server.SessionManager.PersistentSessions
-
- SessionManagerListener - Interface in dk.brics.jwig.server
-
Listener for session manager events.
- sessionRefreshed(Session) - Method in class dk.brics.jwig.persistence.JwigCurrentSessionContext
-
- sessionRefreshed(Session) - Method in interface dk.brics.jwig.server.SessionManagerListener
-
Invoked by the session manager after a session is refreshed.
- 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
-
- sessionTimeout(Session) - Method in interface dk.brics.jwig.server.SessionManagerListener
-
Invoked by the session manager when a session is ended by a timeout.
- SessionTransition - Class in dk.brics.jwig.analysis.graph
-
A session state is a state that is bound to a session.
- SessionTransition() - Constructor for class dk.brics.jwig.analysis.graph.SessionTransition
-
- set(ThreadContext) - Static method in class dk.brics.jwig.server.ThreadContext
-
Sets the thread context for the current thread.
- setActiveThread(Thread) - Method in class dk.brics.jwig.persistence.DBContext
-
- 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.
- setCacheAugmented(boolean) - Method in class dk.brics.jwig.server.ThreadContext.InvocationContext
-
- setCacheAugmented(boolean) - Method in class dk.brics.jwig.server.ThreadContext
-
- setContentType(String) - Method in class dk.brics.jwig.Response
-
Sets the Content-Type.
- setCurrentCacheTransaction(CacheTransaction) - Method in class dk.brics.jwig.server.ThreadContext.InvocationContext
-
- setCurrentCacheTransaction(CacheTransaction) - Method in class dk.brics.jwig.server.ThreadContext
-
- setCurrentResult(Object) - Method in class dk.brics.jwig.server.ThreadContext
-
Sets the result that will be returned through the filter chain an eventually sent to the client.
- setDone(boolean) - Method in class dk.brics.jwig.server.ThreadContext.InvocationContext
-
- setDone(boolean) - Method in class dk.brics.jwig.server.ThreadContext
-
Sets the state of the done property.
- 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.
- setMatchedWebMethods(LinkedList<RegisteredMethod>) - Method in class dk.brics.jwig.server.ThreadContext
-
- setMethod(SootMethod) - Method in class dk.brics.jwig.analysis.graph.State
-
- 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.
- setOrigin(State) - Method in class dk.brics.jwig.analysis.graph.AbstractTransition
-
- setOrigin(State) - Method in interface dk.brics.jwig.analysis.graph.Transition
-
- setParent(Config) - Method in class dk.brics.jwig.server.Config
-
Sets the parent configuration.
- setParsed_request(List<FileItem>) - Method in class dk.brics.jwig.server.ThreadContext
-
- setPassword(String) - Method in class dk.brics.jwig.User
-
Sets the password.
- setProducer(XMLProducer) - Method in class dk.brics.jwig.server.ThreadContext
-
Sets the current XML producer.
- setProperty(String, Object) - Method in class dk.brics.jwig.server.Config
-
Sets a configuration property.
- 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.
- setPunished(boolean) - Method in class dk.brics.jwig.server.ThreadContext
-
- setReferer(String) - Method in class dk.brics.jwig.server.ThreadContext
-
- setRegisteredMethod(RegisteredMethod) - Method in class dk.brics.jwig.analysis.graph.WebMethodTransition
-
- setRequestManager(RequestManager) - Method in class dk.brics.jwig.server.ThreadContext
-
- setResponse(Response) - Method in class dk.brics.jwig.server.ThreadContext
-
Sets the response object.
- setResult(Object) - Method in class dk.brics.jwig.Response
-
- setStatus(int) - Method in class dk.brics.jwig.Response
-
Sets the status code.
- setSynchronizer(Synchronizer) - Static method in class dk.brics.jwig.server.ThreadContext
-
Sets the synchronizer.
- setTarget(State) - Method in class dk.brics.jwig.analysis.graph.AbstractTransition
-
- setTarget(State) - Method in interface dk.brics.jwig.analysis.graph.Transition
-
- setText(String) - Method in class dk.brics.jwig.Response
-
Sets the payload to the given plain-text value.
- setThrowable(RuntimeException) - Method in class dk.brics.jwig.server.ThreadContext.InvocationContext
-
- setThrowable(RuntimeException) - Method in class dk.brics.jwig.server.ThreadContext
-
- setTimeout(int) - Method in interface dk.brics.jwig.server.comet.CometEvent
-
Sets the timeout on the connection.
- setTransitions(Set<Transition>) - Method in class dk.brics.jwig.analysis.graph.State
-
- setUrl(String) - Method in class dk.brics.jwig.server.cache.CacheObject
-
- setUsername(String) - Method in class dk.brics.jwig.User
-
Sets the username.
- setWebSite(WebSite) - Static method in class dk.brics.jwig.server.ThreadContext
-
Sets the web site.
- setXML(XML) - Method in class dk.brics.jwig.Response
-
Sets the payload to the given XML value.
- State - Class in dk.brics.jwig.analysis.graph
-
- State(boolean, boolean) - Constructor for class dk.brics.jwig.analysis.graph.State
-
- StateMachine - Class in dk.brics.jwig.analysis.graph
-
- StateMachine() - Constructor for class dk.brics.jwig.analysis.graph.StateMachine
-
- store(Session) - Method in class dk.brics.jwig.server.SessionManager
-
Stores the given session in the session manager.
- 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.
- Synchronizer - Class in dk.brics.jwig.server.comet
-
Synchronizer.
- Synchronizer() - Constructor for class dk.brics.jwig.server.comet.Synchronizer
-
Constructs a new synchronizer.