Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractPhotonMapBasedWALDAO<INTERFACETYPE extends com.helger.commons.id.IHasID<String>,
IMPLTYPE extends INTERFACETYPE> - Class in com.helger.photon.app.dao -
Special
AbstractMapBasedWALDAO
that uses theWebFileIO.getDataIO()
for read/write. - AbstractPhotonMapBasedWALDAO(Class<IMPLTYPE>, String) - Constructor for class com.helger.photon.app.dao.AbstractPhotonMapBasedWALDAO
- AbstractPhotonMapBasedWALDAO(Class<IMPLTYPE>, String, AbstractMapBasedWALDAO.InitSettings<IMPLTYPE>) - Constructor for class com.helger.photon.app.dao.AbstractPhotonMapBasedWALDAO
- AbstractPhotonSimpleDAO - Class in com.helger.photon.app.dao
-
Special
AbstractSimpleDAO
that uses theWebFileIO.getDataIO()
for read/write. - AbstractPhotonSimpleDAO(String) - Constructor for class com.helger.photon.app.dao.AbstractPhotonSimpleDAO
- AbstractPhotonSimpleDAO(Supplier<String>) - Constructor for class com.helger.photon.app.dao.AbstractPhotonSimpleDAO
- AbstractPhotonWALDAO<DATATYPE> - Class in com.helger.photon.app.dao
-
Special
AbstractWALDAO
that uses theWebFileIO.getDataIO()
for read/write. - AbstractPhotonWALDAO(Class<DATATYPE>, String) - Constructor for class com.helger.photon.app.dao.AbstractPhotonWALDAO
- AbstractPhotonWALDAO(Class<DATATYPE>, Supplier<String>) - Constructor for class com.helger.photon.app.dao.AbstractPhotonWALDAO
- addCSSAndJS(IRequestWebScopeWithoutResponse, HCSpecialNodes) - Static method in class com.helger.photon.app.PhotonUnifiedResponse.HtmlHelper
- addItem(int, ICSSPathProvider) - Method in class com.helger.photon.app.html.CSSResourceSet
- addItem(int, IJSPathProvider) - Method in class com.helger.photon.app.html.JSResourceSet
- addItem(int, T) - Method in interface com.helger.photon.app.html.IWebResourceSet
-
Add an item at the specified index
- addItem(ICSSPathProvider) - Method in class com.helger.photon.app.html.CSSResourceSet
- addItem(IJSPathProvider) - Method in class com.helger.photon.app.html.JSResourceSet
- addItem(T) - Method in interface com.helger.photon.app.html.IWebResourceSet
-
Add an item
- addItems(int, IWebResourceSet<? extends ICSSPathProvider>) - Method in class com.helger.photon.app.html.CSSResourceSet
- addItems(int, IWebResourceSet<? extends IJSPathProvider>) - Method in class com.helger.photon.app.html.JSResourceSet
- addItems(int, IWebResourceSet<? extends T>) - Method in interface com.helger.photon.app.html.IWebResourceSet
-
Add all items from another list at the specified index.
- addItems(IWebResourceSet<? extends ICSSPathProvider>) - Method in class com.helger.photon.app.html.CSSResourceSet
- addItems(IWebResourceSet<? extends IJSPathProvider>) - Method in class com.helger.photon.app.html.JSResourceSet
- addItems(IWebResourceSet<? extends T>) - Method in interface com.helger.photon.app.html.IWebResourceSet
-
Add all items from another list.
- after() - Method in class com.helger.photon.app.mock.PhotonAppTestRule
- after() - Method in class com.helger.photon.app.mock.PhotonAppWebTestRule
- attachment(String) - Method in class com.helger.photon.app.PhotonUnifiedResponse
B
- before() - Method in class com.helger.photon.app.mock.PhotonAppTestRule
- before() - Method in class com.helger.photon.app.mock.PhotonAppWebTestRule
- binary(NonBlockingByteArrayOutputStream, IMimeType, String) - Method in class com.helger.photon.app.PhotonUnifiedResponse
C
- canBeBundledWith(WebSiteResourceWithCondition) - Method in class com.helger.photon.app.resource.WebSiteResourceWithCondition
-
Check if this resource can be bundled with the passed resource.
- CHARSET_TO_USE - Static variable in class com.helger.photon.app.resource.WebSiteResourceBundleSerialized
- clearCache() - Static method in class com.helger.photon.app.resource.WebSiteResourceCache
-
Remove all items contained in the cache.
- com.helger.photon.app - package com.helger.photon.app
- com.helger.photon.app.dao - package com.helger.photon.app.dao
- com.helger.photon.app.html - package com.helger.photon.app.html
- com.helger.photon.app.io - package com.helger.photon.app.io
- com.helger.photon.app.mgr - package com.helger.photon.app.mgr
- com.helger.photon.app.mock - package com.helger.photon.app.mock
- com.helger.photon.app.resource - package com.helger.photon.app.resource
- com.helger.photon.app.url - package com.helger.photon.app.url
- containsAllIDs(Iterable<String>) - Method in interface com.helger.photon.app.mgr.IPhotonManager
-
Check if all IDs are contained
- containsResourceBundleOfID(String) - Method in class com.helger.photon.app.resource.WebSiteResourceBundleManager
-
Check if the passed resource bundle ID is contained.
- containsWithID(String) - Method in interface com.helger.photon.app.mgr.IPhotonManager
- createAccepted() - Method in class com.helger.photon.app.PhotonUnifiedResponse
-
HTTP 202 Accepted
- createBadRequest() - Method in class com.helger.photon.app.PhotonUnifiedResponse
-
HTTP 400 Bad Request
- createConflict() - Method in class com.helger.photon.app.PhotonUnifiedResponse
-
HTTP 409 Conflict
- createForCSS(ICSSPathProvider, boolean) - Static method in class com.helger.photon.app.resource.WebSiteResourceWithCondition
-
Factory method for CSS resources.
- createForCSS(String, String, boolean, ICSSMediaList) - Static method in class com.helger.photon.app.resource.WebSiteResourceWithCondition
- createForJS(IJSPathProvider, boolean) - Static method in class com.helger.photon.app.resource.WebSiteResourceWithCondition
-
Factory method for JavaScript resources.
- createForJS(String, String, boolean) - Static method in class com.helger.photon.app.resource.WebSiteResourceWithCondition
- createHTML(IRequestWebScopeWithoutResponse) - Method in interface com.helger.photon.app.html.IHTMLProvider
-
Create HTML for the provided request.
- createHTMLResponse(IRequestWebScopeWithoutResponse, UnifiedResponse, IHTMLProvider) - Static method in class com.helger.photon.app.html.PhotonHTMLHelper
- createInternalServerError() - Method in class com.helger.photon.app.PhotonUnifiedResponse
-
HTTP 500 Internal Server Error
- createNoContent() - Method in class com.helger.photon.app.PhotonUnifiedResponse
-
HTTP 204 No Content
- createNode(ISimpleURL, ICSSMediaList) - Method in enum com.helger.photon.app.resource.EWebSiteResourceType
- createNode(IRequestWebScopeWithoutResponse) - Method in class com.helger.photon.app.resource.WebSiteResourceBundleSerialized
- createNotFound() - Method in class com.helger.photon.app.PhotonUnifiedResponse
-
HTTP 404 Not Found
- createOk() - Method in class com.helger.photon.app.PhotonUnifiedResponse
-
HTTP 200 OK
- createPreconditionFailed() - Method in class com.helger.photon.app.PhotonUnifiedResponse
-
HTTP 412 Precondition Failed
- createSeeOther(ISimpleURL) - Method in class com.helger.photon.app.PhotonUnifiedResponse
-
HTTP 303 See Other
- createSimple(IRequestWebScopeWithoutResponse) - Static method in class com.helger.photon.app.PhotonUnifiedResponse
-
Factory method
- createWriteData() - Method in class com.helger.photon.app.resource.WebSiteResourceBundleManager
- CSS - Enum constant in enum com.helger.photon.app.resource.EWebSiteResourceType
- CSSResourceSet - Class in com.helger.photon.app.html
-
This class keeps track of all the CSS files that must be included for a single request, so that the controls are working properly.
- CSSResourceSet() - Constructor for class com.helger.photon.app.html.CSSResourceSet
- CSSResourceSet(ICSSPathProvider...) - Constructor for class com.helger.photon.app.html.CSSResourceSet
- CSSResourceSet(CSSResourceSet) - Constructor for class com.helger.photon.app.html.CSSResourceSet
- CSSResourceSet(Collection<? extends ICSSPathProvider>) - Constructor for class com.helger.photon.app.html.CSSResourceSet
D
- DEFAULT_CHARSET - Static variable in class com.helger.photon.app.resource.WebSiteResource
- DEFAULT_FILENAME - Static variable in class com.helger.photon.app.html.PhotonCSS
- DEFAULT_FILENAME - Static variable in class com.helger.photon.app.html.PhotonJS
- DEFAULT_FILENAME - Static variable in class com.helger.photon.app.html.PhotonMetaElements
- DEFAULT_RESOURCE_BUNDLE_SERVLET_NAME - Static variable in class com.helger.photon.app.PhotonAppSettings
- DEFAULT_STREAM_SERVLET_NAME - Static variable in class com.helger.photon.app.url.LinkHelper
-
The default name of the stream servlet.
E
- equals(Object) - Method in class com.helger.photon.app.html.CSSResourceSet
- equals(Object) - Method in class com.helger.photon.app.html.JSResourceSet
- equals(Object) - Method in class com.helger.photon.app.resource.WebSiteResource
- equals(Object) - Method in class com.helger.photon.app.resource.WebSiteResourceBundle
- equals(Object) - Method in class com.helger.photon.app.resource.WebSiteResourceWithCondition
- EWebSiteResourceType - Enum in com.helger.photon.app.resource
-
Defines the available resource types.
G
- getAll() - Method in interface com.helger.photon.app.mgr.IPhotonManager
- getAllItems() - Method in class com.helger.photon.app.html.CSSResourceSet
- getAllItems() - Method in interface com.helger.photon.app.html.IWebResourceSet
- getAllItems() - Method in class com.helger.photon.app.html.JSResourceSet
- getAllItems(Collection<? super ICSSPathProvider>) - Method in class com.helger.photon.app.html.CSSResourceSet
- getAllItems(Collection<? super IJSPathProvider>) - Method in class com.helger.photon.app.html.JSResourceSet
- getAllItems(Collection<? super T>) - Method in interface com.helger.photon.app.html.IWebResourceSet
-
Add all items to the provided target container.
- getAllRegisteredCSSIncludesForGlobal() - Static method in class com.helger.photon.app.html.PhotonCSS
- getAllRegisteredCSSIncludesForGlobal(Collection<? super ICSSPathProvider>) - Static method in class com.helger.photon.app.html.PhotonCSS
- getAllRegisteredCSSIncludesForThisRequest() - Static method in class com.helger.photon.app.html.PhotonCSS
- getAllRegisteredCSSIncludesForThisRequest(Collection<? super ICSSPathProvider>) - Static method in class com.helger.photon.app.html.PhotonCSS
- getAllRegisteredJSIncludesForGlobal() - Static method in class com.helger.photon.app.html.PhotonJS
- getAllRegisteredJSIncludesForGlobal(Collection<? super IJSPathProvider>) - Static method in class com.helger.photon.app.html.PhotonJS
- getAllRegisteredJSIncludesForThisRequest() - Static method in class com.helger.photon.app.html.PhotonJS
- getAllRegisteredJSIncludesForThisRequest(Collection<? super IJSPathProvider>) - Static method in class com.helger.photon.app.html.PhotonJS
- getAllRegisteredMetaElementsForGlobal() - Static method in class com.helger.photon.app.html.PhotonMetaElements
- getAllRegisteredMetaElementsForGlobal(Collection<? super IMetaElement>) - Static method in class com.helger.photon.app.html.PhotonMetaElements
- getAllRegisteredMetaElementsForThisRequest() - Static method in class com.helger.photon.app.html.PhotonMetaElements
- getAllRegisteredMetaElementsForThisRequest(Collection<? super IMetaElement>) - Static method in class com.helger.photon.app.html.PhotonMetaElements
- getAllResourceBundles() - Method in class com.helger.photon.app.resource.WebSiteResourceBundleManager
- getAllResourceBundlesSerialized() - Method in class com.helger.photon.app.resource.WebSiteResourceBundleManager
- getAllResourcePaths() - Method in class com.helger.photon.app.resource.WebSiteResourceBundle
- getAllResources() - Method in class com.helger.photon.app.resource.WebSiteResourceBundle
- getAsCSSPathProvider() - Method in class com.helger.photon.app.resource.WebSiteResourceWithCondition
- getAsJSPathProvider() - Method in class com.helger.photon.app.resource.WebSiteResourceWithCondition
- getAsResource(String) - Method in interface com.helger.photon.app.url.IWebURIToURLConverter
-
Convert the passed URI to a resource.
- getAsResource(String) - Method in class com.helger.photon.app.url.StreamOrLocalURIToURLConverter
- getAsResourceStatic(String) - Static method in class com.helger.photon.app.url.StreamOrLocalURIToURLConverter
- getAsURL(IRequestWebScopeWithoutResponse) - Method in class com.helger.photon.app.resource.WebSiteResource
- getAsURL(IRequestWebScopeWithoutResponse, String) - Method in interface com.helger.photon.app.url.IWebURIToURLConverter
-
Convert the passed URI to a URL.
- getAsURL(IRequestWebScopeWithoutResponse, String) - Method in class com.helger.photon.app.url.StreamOrLocalURIToURLConverter
- getAsURL(String) - Method in interface com.helger.photon.app.url.IWebURIToURLConverter
-
Convert the passed URI to a URL.
- getAsURL(String) - Method in class com.helger.photon.app.url.StreamOrLocalURIToURLConverter
- getAsURLStatic(IRequestWebScopeWithoutResponse, String) - Static method in class com.helger.photon.app.url.StreamOrLocalURIToURLConverter
- getAsURLStatic(String) - Static method in class com.helger.photon.app.url.StreamOrLocalURIToURLConverter
- getAsURLString() - Method in class com.helger.photon.app.resource.WebSiteResource
- getBundle() - Method in class com.helger.photon.app.resource.WebSiteResourceBundleSerialized
- getBundleID() - Method in class com.helger.photon.app.resource.WebSiteResourceBundleSerialized
- getCharset() - Method in class com.helger.photon.app.resource.WebSiteResource
- getConditionalComment() - Method in class com.helger.photon.app.resource.WebSiteResourceBundle
- getConditionalComment() - Method in class com.helger.photon.app.resource.WebSiteResourceWithCondition
- getContent(boolean) - Method in class com.helger.photon.app.resource.WebSiteResource
- getContentHashAsString() - Method in class com.helger.photon.app.resource.WebSiteResource
- getContentHashBytes() - Method in class com.helger.photon.app.resource.WebSiteResource
- getCount() - Method in class com.helger.photon.app.html.CSSResourceSet
- getCount() - Method in class com.helger.photon.app.html.JSResourceSet
- getCreationDT() - Method in class com.helger.photon.app.resource.WebSiteResourceBundleSerialized
- getCSSNode(IRequestWebScopeWithoutResponse, ICSSPathProvider, boolean) - Static method in class com.helger.photon.app.html.PhotonHTMLHelper
- getCSSPath(IRequestWebScopeWithoutResponse, ICSSPathProvider, boolean) - Static method in class com.helger.photon.app.PhotonAppSettings
- getCurrentUserID() - Method in class com.helger.photon.app.mock.MockCurrentUserIDProvider
- getDataIO() - Static method in class com.helger.photon.app.io.WebFileIO
- getDataPath() - Method in class com.helger.photon.app.mock.PhotonAppTestRule
- getDataPath() - Method in class com.helger.photon.app.mock.PhotonAppWebTestRule
- getDisplayName() - Method in enum com.helger.photon.app.resource.EWebSiteResourceType
- getFileExtension() - Method in enum com.helger.photon.app.resource.EWebSiteResourceType
- getFromIDOrNull(String) - Static method in enum com.helger.photon.app.resource.EWebSiteResourceType
- getHomeLinkWithoutSession() - Static method in class com.helger.photon.app.url.LinkHelper
- getHTMLString(IRequestWebScopeWithoutResponse, IHCHasChildrenMutable<?, ? super IHCNode>, HCSpecialNodes, IHCOnDocumentReadyProvider) - Static method in class com.helger.photon.app.PhotonUnifiedResponse.HtmlHelper
- getID() - Method in enum com.helger.photon.app.resource.EWebSiteResourceType
- getInputStream() - Method in class com.helger.photon.app.resource.WebSiteResourceBundleSerialized
- getInstance() - Static method in class com.helger.photon.app.mock.MockCurrentUserIDProvider
- getInstance() - Static method in class com.helger.photon.app.PhotonAppManager
- getInstance() - Static method in class com.helger.photon.app.PhotonWorkerPool
- getJSNode(IRequestWebScopeWithoutResponse, IJSPathProvider, boolean) - Static method in class com.helger.photon.app.html.PhotonHTMLHelper
- getJsonWriterSettings() - Method in class com.helger.photon.app.PhotonUnifiedResponse
- getJSPath(IRequestWebScopeWithoutResponse, IJSPathProvider, boolean) - Static method in class com.helger.photon.app.PhotonAppSettings
- getMediaList() - Method in class com.helger.photon.app.resource.WebSiteResourceBundle
- getMediaList() - Method in class com.helger.photon.app.resource.WebSiteResourceWithCondition
- getMimeType() - Method in enum com.helger.photon.app.resource.EWebSiteResourceType
- getMimeType() - Method in class com.helger.photon.app.resource.WebSiteResourceBundle
- getMimeType() - Method in class com.helger.photon.app.resource.WebSiteResourceBundleSerialized
- getMimeType(IRequestWebScopeWithoutResponse) - Static method in class com.helger.photon.app.html.PhotonHTMLHelper
-
Get the HTML MIME type to use
- getNone() - Method in interface com.helger.photon.app.mgr.IPhotonManager
- getOrCreateResource(EWebSiteResourceType, String, Charset) - Static method in class com.helger.photon.app.resource.WebSiteResourceCache
- getPath() - Method in class com.helger.photon.app.resource.WebSiteResource
- getRequestScope() - Method in class com.helger.photon.app.PhotonUnifiedResponse
- getResource() - Method in class com.helger.photon.app.resource.WebSiteResource
- getResource() - Method in class com.helger.photon.app.resource.WebSiteResourceWithCondition
- getResource(String) - Static method in class com.helger.photon.app.resource.WebSiteResourceBundleSerialized
- getResourceAtIndex(int) - Method in class com.helger.photon.app.resource.WebSiteResourceBundle
- getResourceBundleOfID(String) - Method in class com.helger.photon.app.resource.WebSiteResourceBundleManager
-
Get the serialized resource bundle with the passed ID.
- getResourceBundles(ICommonsList<WebSiteResourceWithCondition>, boolean) - Method in interface com.helger.photon.app.resource.IWebSiteResourceBundleProvider
- getResourceBundles(ICommonsList<WebSiteResourceWithCondition>, boolean) - Method in class com.helger.photon.app.resource.WebSiteResourceBundleManager
- getResourceBundleServletName() - Static method in class com.helger.photon.app.PhotonAppSettings
- getResourceCount() - Method in class com.helger.photon.app.resource.WebSiteResourceBundle
- getResourceType() - Method in class com.helger.photon.app.resource.WebSiteResource
- getResourceType() - Method in class com.helger.photon.app.resource.WebSiteResourceBundle
- getResponseAsJSON(IJsonObject, IHCSpecialNodes) - Static method in class com.helger.photon.app.PhotonUnifiedResponse.HtmlHelper
- getServletContextIO() - Static method in class com.helger.photon.app.io.WebFileIO
- getServletContextPath() - Method in class com.helger.photon.app.mock.PhotonAppTestRule
- getServletContextPath() - Method in class com.helger.photon.app.mock.PhotonAppWebTestRule
- getStreamServletName() - Static method in class com.helger.photon.app.url.LinkHelper
- getStreamServletPath() - Static method in class com.helger.photon.app.url.LinkHelper
- getStreamURL(IRequestWebScopeWithoutResponse, String) - Static method in class com.helger.photon.app.url.LinkHelper
-
Get the default URL to stream the passed URL.
- getURIToURLConverter() - Static method in class com.helger.photon.app.PhotonAppSettings
- getURIWithContext(IRequestWebScopeWithoutResponse, String) - Static method in class com.helger.photon.app.url.LinkHelper
-
Prefix the passed href with the relative context path in case the passed href has no protocol yet.
- getURIWithContext(String) - Static method in class com.helger.photon.app.url.LinkHelper
-
Prefix the passed href with the relative context path in case the passed href has no protocol yet.
Important: this method does not add the session ID in case cookies are disabled by the client! - getURIWithServerAndContext(IRequestWebScopeWithoutResponse, String) - Static method in class com.helger.photon.app.url.LinkHelper
-
Prefix the passed href with the absolute server + context path in case the passed href has no protocol yet.
- getURIWithServerAndContext(String) - Static method in class com.helger.photon.app.url.LinkHelper
-
Prefix the passed href with the absolute server + context path in case the passed href has no protocol yet.
Important: this method does not add the session ID in case cookies are disabled by the client! - getURLWithContext(IRequestWebScopeWithoutResponse, String) - Static method in class com.helger.photon.app.url.LinkHelper
-
Prefix the passed href with the relative context path in case the passed href has no protocol yet.
- getURLWithContext(String) - Static method in class com.helger.photon.app.url.LinkHelper
-
Prefix the passed href with the relative context path in case the passed href has no protocol yet.
Important: this method does not add the session ID in case cookies are disabled by the client! - getURLWithServerAndContext(IRequestWebScopeWithoutResponse, String) - Static method in class com.helger.photon.app.url.LinkHelper
-
Prefix the passed href with the absolute server + context path in case the passed href has no protocol yet.
- getURLWithServerAndContext(String) - Static method in class com.helger.photon.app.url.LinkHelper
-
Prefix the passed href with the absolute server + context path in case the passed href has no protocol yet.
Important: this method does not add the session ID in case cookies are disabled by the client! - getWebSiteResourceBundleMgr() - Static method in class com.helger.photon.app.PhotonAppManager
- getWrapped(IHCNode) - Method in class com.helger.photon.app.resource.WebSiteResourceBundle
- getXMLWriterSettings() - Method in class com.helger.photon.app.PhotonUnifiedResponse
H
- hasConditionalComment() - Method in class com.helger.photon.app.resource.WebSiteResourceBundle
- hasConditionalComment() - Method in class com.helger.photon.app.resource.WebSiteResourceWithCondition
- hashCode() - Method in class com.helger.photon.app.html.CSSResourceSet
- hashCode() - Method in class com.helger.photon.app.html.JSResourceSet
- hashCode() - Method in class com.helger.photon.app.resource.WebSiteResource
- hashCode() - Method in class com.helger.photon.app.resource.WebSiteResourceBundle
- hashCode() - Method in class com.helger.photon.app.resource.WebSiteResourceWithCondition
- hasKnownProtocol(String) - Static method in class com.helger.photon.app.url.LinkHelper
-
Special "has known protocol" version that also supports the pseudo protocol "//" that maps to either "http" or "https" depending on the surrounding setup.
- hasMediaList() - Method in class com.helger.photon.app.resource.WebSiteResourceBundle
- hasRegisteredCSSIncludesForGlobal() - Static method in class com.helger.photon.app.html.PhotonCSS
- hasRegisteredCSSIncludesForThisRequest() - Static method in class com.helger.photon.app.html.PhotonCSS
- hasRegisteredJSIncludesForGlobal() - Static method in class com.helger.photon.app.html.PhotonJS
- hasRegisteredJSIncludesForThisRequest() - Static method in class com.helger.photon.app.html.PhotonJS
- hasRegisteredMetaElementsForGlobal() - Static method in class com.helger.photon.app.html.PhotonMetaElements
- hasRegisteredMetaElementsForThisRequest() - Static method in class com.helger.photon.app.html.PhotonMetaElements
- html(IHCHasChildrenMutable<?, ? super IHCNode>, IHCOnDocumentReadyProvider, IJsonObject) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- html(IHCNode) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- htmlSimple(IHCNode) - Method in class com.helger.photon.app.PhotonUnifiedResponse
-
Create a simple HTML response without JSON structuring
I
- IHTMLProvider - Interface in com.helger.photon.app.html
-
Base interface for an HTML creator
- init(File, String) - Static method in class com.helger.photon.app.mock.PhotonAppTestInit
- initPaths(File, String, boolean) - Static method in class com.helger.photon.app.io.WebFileIO
- IPhotonManager<INTERFACETYPE extends com.helger.commons.id.IHasID<String>> - Interface in com.helger.photon.app.mgr
-
Base interface for a manager with common data types.
- isBundlable() - Method in class com.helger.photon.app.resource.WebSiteResourceBundle
- isBundlable() - Method in class com.helger.photon.app.resource.WebSiteResourceWithCondition
-
Check if this resource can be bundled, independent of the conditional comment.
- isCacheEnabled() - Static method in class com.helger.photon.app.resource.WebSiteResourceCache
- isCollected() - Method in class com.helger.photon.app.html.CSSResourceSet
- isCollected() - Method in class com.helger.photon.app.html.JSResourceSet
- isEmpty() - Method in class com.helger.photon.app.html.CSSResourceSet
- isEmpty() - Method in interface com.helger.photon.app.html.IWebResourceSet
- isEmpty() - Method in class com.helger.photon.app.html.JSResourceSet
- isExisting() - Method in class com.helger.photon.app.resource.WebSiteResource
- isInited() - Static method in class com.helger.photon.app.io.WebFileIO
- isMergeCSSResources() - Static method in class com.helger.photon.app.PhotonAppSettings
- isMergeJSResources() - Static method in class com.helger.photon.app.PhotonAppSettings
- isNotEmpty() - Method in class com.helger.photon.app.html.CSSResourceSet
- isNotEmpty() - Method in interface com.helger.photon.app.html.IWebResourceSet
- isNotEmpty() - Method in class com.helger.photon.app.html.JSResourceSet
- isProjectRelativeURI(String) - Static method in class com.helger.photon.app.url.StreamOrLocalURIToURLConverter
-
Absolute paths are project relative files and therefore are relative to the servlet context directory
- isReadMultiple() - Method in class com.helger.photon.app.resource.WebSiteResourceBundleSerialized
- isReloadable() - Method in class com.helger.photon.app.dao.AbstractPhotonMapBasedWALDAO
- isSilentMode() - Static method in class com.helger.photon.app.io.WebFileIO
- isSilentMode() - Static method in class com.helger.photon.app.resource.WebSiteResourceCache
- iterator() - Method in class com.helger.photon.app.html.CSSResourceSet
- iterator() - Method in class com.helger.photon.app.html.JSResourceSet
- IWebResourceSet<T extends com.helger.html.resource.IHTMLResourceProvider> - Interface in com.helger.photon.app.html
-
Base interface for CSS and JS resource sets.
- IWebSiteResourceBundleProvider - Interface in com.helger.photon.app.resource
-
An interface for merging resource bundles.
- IWebURIToURLConverter - Interface in com.helger.photon.app.url
-
A generic converted from String URI to
ISimpleURL
.
J
- JS - Enum constant in enum com.helger.photon.app.resource.EWebSiteResourceType
- json(IJson) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- jsonEmpty() - Method in class com.helger.photon.app.PhotonUnifiedResponse
- JSResourceSet - Class in com.helger.photon.app.html
-
This class keeps track of all the JS files that must be included for a single request, so that the controls are working properly.
- JSResourceSet() - Constructor for class com.helger.photon.app.html.JSResourceSet
- JSResourceSet(IJSPathProvider...) - Constructor for class com.helger.photon.app.html.JSResourceSet
- JSResourceSet(JSResourceSet) - Constructor for class com.helger.photon.app.html.JSResourceSet
- JSResourceSet(Collection<? extends IJSPathProvider>) - Constructor for class com.helger.photon.app.html.JSResourceSet
L
- LinkHelper - Class in com.helger.photon.app.url
-
Misc utilities to create link URLs.
- LOG4J2 - Static variable in class com.helger.photon.app.PhotonAppConfig
M
- markAsCollected() - Method in class com.helger.photon.app.html.CSSResourceSet
- markAsCollected() - Method in interface com.helger.photon.app.html.IWebResourceSet
-
Call this method to mark the resource set as "collected for further processing".
- markAsCollected() - Method in class com.helger.photon.app.html.JSResourceSet
- mergeExternalCSSAndJSNodes(IRequestWebScopeWithoutResponse, HCHead, boolean, boolean, IWebSiteResourceBundleProvider) - Static method in class com.helger.photon.app.html.PhotonHTMLHelper
-
Merge external CSS and JS contents to a single resource for improved browser performance.
- META_GENERATOR_VALUE - Static variable in class com.helger.photon.app.html.PhotonHTMLHelper
- MockCurrentUserIDProvider - Class in com.helger.photon.app.mock
-
Mock implementation of
ICurrentUserIDProvider
. - MockCurrentUserIDProvider() - Constructor for class com.helger.photon.app.mock.MockCurrentUserIDProvider
- MockCurrentUserIDProvider(String) - Constructor for class com.helger.photon.app.mock.MockCurrentUserIDProvider
O
- onAfterInstantiation(IScope) - Method in class com.helger.photon.app.PhotonAppManager
- onDestroy(IScope) - Method in class com.helger.photon.app.PhotonWorkerPool
- onRead(IMicroDocument) - Method in class com.helger.photon.app.resource.WebSiteResourceBundleManager
P
- pdf(byte[], String) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- pdf(NonBlockingByteArrayOutputStream) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- pdf(NonBlockingByteArrayOutputStream, String) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- PhotonAppConfig - Class in com.helger.photon.app
- PhotonAppInit - Class in com.helger.photon.app
- PhotonAppManager - Class in com.helger.photon.app
-
The meta system manager encapsulates all managers that are located in this project.
- PhotonAppManager() - Constructor for class com.helger.photon.app.PhotonAppManager
-
Deprecated.
- PhotonAppSettings - Class in com.helger.photon.app
-
Global photon-app settings.
- PhotonAppTestInit - Class in com.helger.photon.app.mock
-
Static test init and shutdown code for this project
- PhotonAppTestRule - Class in com.helger.photon.app.mock
-
Non-web scope aware test rule, with a defined storage root directory
- PhotonAppTestRule() - Constructor for class com.helger.photon.app.mock.PhotonAppTestRule
-
Ctor using the default storage path from
ScopeTestRule
- PhotonAppTestRule(File) - Constructor for class com.helger.photon.app.mock.PhotonAppTestRule
-
Ctor with an arbitrary path
- PhotonAppTestRule(File, String) - Constructor for class com.helger.photon.app.mock.PhotonAppTestRule
-
Ctor with an arbitrary path
- PhotonAppWebTestRule - Class in com.helger.photon.app.mock
-
Web scope aware test rule, with a defined storage root directory
- PhotonAppWebTestRule() - Constructor for class com.helger.photon.app.mock.PhotonAppWebTestRule
-
Ctor using the default storage path from
ScopeTestRule
- PhotonAppWebTestRule(File) - Constructor for class com.helger.photon.app.mock.PhotonAppWebTestRule
-
Ctor with an arbitrary path
- PhotonAppWebTestRule(File, String) - Constructor for class com.helger.photon.app.mock.PhotonAppWebTestRule
-
Ctor with an arbitrary path
- PhotonCSS - Class in com.helger.photon.app.html
-
This class keeps track of all the CSS files that must be included globally or for a single request.
- PhotonHTMLHelper - Class in com.helger.photon.app.html
-
A utility class for consistent HTML creation.
- PhotonJS - Class in com.helger.photon.app.html
-
This class keeps track of all the JS files that must be included globally for a single request.
- PhotonMetaElements - Class in com.helger.photon.app.html
-
This class keeps track of all the meta elements that must be included globally or for a single request.
- PhotonUnifiedResponse - Class in com.helger.photon.app
-
Extends the
UnifiedResponse
with additional sanity methods for easier pratical use. - PhotonUnifiedResponse(EHttpVersion, EHttpMethod, HttpServletRequest, IRequestWebScopeWithoutResponse) - Constructor for class com.helger.photon.app.PhotonUnifiedResponse
- PhotonUnifiedResponse.HtmlHelper - Class in com.helger.photon.app
- PhotonWorkerPool - Class in com.helger.photon.app
-
Asynchronous worker pool that handles stuff that runs in the background.
- PhotonWorkerPool() - Constructor for class com.helger.photon.app.PhotonWorkerPool
-
Deprecated.
- PhotonWorkerPool(int) - Constructor for class com.helger.photon.app.PhotonWorkerPool
- PhotonWorkerPool(ExecutorService) - Constructor for class com.helger.photon.app.PhotonWorkerPool
- PROPERTY_EXTERNAL_CSS - Static variable in class com.helger.photon.app.PhotonUnifiedResponse.HtmlHelper
-
Additional CSS files - only in case of success - contains a list of strings
- PROPERTY_EXTERNAL_JS - Static variable in class com.helger.photon.app.PhotonUnifiedResponse.HtmlHelper
-
Additional JS files - only in case of success - contains a list of strings
- PROPERTY_HTML - Static variable in class com.helger.photon.app.PhotonUnifiedResponse.HtmlHelper
-
Default property for HTML content
- PROPERTY_INLINE_CSS_AFTER_EXTERNAL - Static variable in class com.helger.photon.app.PhotonUnifiedResponse.HtmlHelper
-
Additional inline CSS - only in case of success - contains a string
- PROPERTY_INLINE_CSS_BEFORE_EXTERNAL - Static variable in class com.helger.photon.app.PhotonUnifiedResponse.HtmlHelper
-
Additional inline CSS - only in case of success - contains a string
- PROPERTY_INLINE_JS_AFTER_EXTERNAL - Static variable in class com.helger.photon.app.PhotonUnifiedResponse.HtmlHelper
-
Additional inline JS - only in case of success - contains a string
- PROPERTY_INLINE_JS_BEFORE_EXTERNAL - Static variable in class com.helger.photon.app.PhotonUnifiedResponse.HtmlHelper
-
Additional inline JS - only in case of success - contains a string
- PROPERTY_VALUE - Static variable in class com.helger.photon.app.PhotonUnifiedResponse.HtmlHelper
-
Response value property - only in case of success - contains the response data as object
R
- readCSSIncludesForGlobal(IReadableResource) - Static method in class com.helger.photon.app.html.PhotonCSS
- readJSIncludesForGlobal(IReadableResource) - Static method in class com.helger.photon.app.html.PhotonJS
- readMetaElementsForGlobal(IReadableResource) - Static method in class com.helger.photon.app.html.PhotonMetaElements
- registerCSSIncludeForGlobal(int, ICSSPathProvider) - Static method in class com.helger.photon.app.html.PhotonCSS
-
Register a new CSS item for global scope.
- registerCSSIncludeForGlobal(ICSSPathProvider) - Static method in class com.helger.photon.app.html.PhotonCSS
-
Register a new CSS item for global scope.
- registerCSSIncludeForThisRequest(ICSSPathProvider) - Static method in class com.helger.photon.app.html.PhotonCSS
-
Register a new CSS item only for this request
- registerJSIncludeForGlobal(int, IJSPathProvider) - Static method in class com.helger.photon.app.html.PhotonJS
-
Register a new JS item for global scope.
- registerJSIncludeForGlobal(IJSPathProvider) - Static method in class com.helger.photon.app.html.PhotonJS
-
Register a new JS item for global scope.
- registerJSIncludeForThisRequest(IJSPathProvider) - Static method in class com.helger.photon.app.html.PhotonJS
-
Register a new JS item only for this request
- registerMetaElementForGlobal(IMetaElement) - Static method in class com.helger.photon.app.html.PhotonMetaElements
-
Register a new meta element for global scope.
- registerMetaElementForThisRequest(IMetaElement) - Static method in class com.helger.photon.app.html.PhotonMetaElements
-
Register a new meta element only for this request
- reload() - Method in class com.helger.photon.app.dao.AbstractPhotonMapBasedWALDAO
- removeAll() - Method in class com.helger.photon.app.html.CSSResourceSet
- removeAll() - Method in interface com.helger.photon.app.html.IWebResourceSet
-
Remove all items.
- removeAll() - Method in class com.helger.photon.app.html.JSResourceSet
- removeFromCache(EWebSiteResourceType, String) - Static method in class com.helger.photon.app.resource.WebSiteResourceCache
- removeItem(ICSSPathProvider) - Method in class com.helger.photon.app.html.CSSResourceSet
- removeItem(IJSPathProvider) - Method in class com.helger.photon.app.html.JSResourceSet
- removeItem(T) - Method in interface com.helger.photon.app.html.IWebResourceSet
-
Unregister an existing item
- resetPaths() - Static method in class com.helger.photon.app.io.WebFileIO
-
Reset the base paths - no matter if they were initialized or not.
- RESOURCE_BUNDLE_PATH - Static variable in class com.helger.photon.app.resource.WebSiteResourceBundleSerialized
- run(String, Runnable) - Method in class com.helger.photon.app.PhotonWorkerPool
- runThrowing(String, IThrowingRunnable<? extends Exception>) - Method in class com.helger.photon.app.PhotonWorkerPool
S
- serialized(Serializable) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- setCacheEnabled(boolean) - Static method in class com.helger.photon.app.resource.WebSiteResourceCache
-
Globally enabled or disable the cache.
- setContent(NonBlockingByteArrayOutputStream) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- setDeleteAllData(boolean) - Method in class com.helger.photon.app.mock.PhotonAppTestRule
-
Delete the directories with data and servlet context path before each iteration?
- setDeleteAllData(boolean) - Method in class com.helger.photon.app.mock.PhotonAppWebTestRule
-
Delete the directories with data and servlet context path before each iteration?
- setJsonWriterSettings(IJsonWriterSettings) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- setMergeCSSResources(boolean) - Static method in class com.helger.photon.app.PhotonAppSettings
- setMergeJSResources(boolean) - Static method in class com.helger.photon.app.PhotonAppSettings
- setResourceBundleServletName(String) - Static method in class com.helger.photon.app.PhotonAppSettings
- setSilentMode(boolean) - Static method in class com.helger.photon.app.io.WebFileIO
- setSilentMode(boolean) - Static method in class com.helger.photon.app.resource.WebSiteResourceCache
-
Enable or disable certain regular log messages.
- setStreamServletName(String) - Static method in class com.helger.photon.app.url.LinkHelper
- setURIToURLConverter(IWebURIToURLConverter) - Static method in class com.helger.photon.app.PhotonAppSettings
- setXMLWriterSettings(IXMLWriterSettings) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- shutdown() - Static method in class com.helger.photon.app.PhotonAppInit
- startUp() - Static method in class com.helger.photon.app.PhotonAppInit
- STREAM_SERVLET_NAME_REGEX - Static variable in class com.helger.photon.app.url.LinkHelper
- StreamOrLocalURIToURLConverter - Class in com.helger.photon.app.url
-
The default implementation of
IWebURIToURLConverter
that usesLinkHelper.getStreamURL(IRequestWebScopeWithoutResponse, String)
to convert relative URIs to URLs. - StreamOrLocalURIToURLConverter() - Constructor for class com.helger.photon.app.url.StreamOrLocalURIToURLConverter
- SUBPROPERTY_CSS_CONTENT - Static variable in class com.helger.photon.app.PhotonUnifiedResponse.HtmlHelper
-
The sub key for CSS elements specifying the inline CSS content
- SUBPROPERTY_CSS_HREF - Static variable in class com.helger.photon.app.PhotonUnifiedResponse.HtmlHelper
-
The sub key for CSS elements specifying the external CSS href
- SUBPROPERTY_CSS_MEDIA - Static variable in class com.helger.photon.app.PhotonUnifiedResponse.HtmlHelper
-
The sub key for CSS elements specifying the media list
- supply(String, Supplier<T>) - Method in class com.helger.photon.app.PhotonWorkerPool
- supplyThrowing(String, IThrowingSupplier<T, ? extends Exception>) - Method in class com.helger.photon.app.PhotonWorkerPool
T
- text(String) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- toString() - Method in class com.helger.photon.app.html.CSSResourceSet
- toString() - Method in class com.helger.photon.app.html.JSResourceSet
- toString() - Method in class com.helger.photon.app.resource.WebSiteResource
- toString() - Method in class com.helger.photon.app.resource.WebSiteResourceBundle
- toString() - Method in class com.helger.photon.app.resource.WebSiteResourceBundleSerialized
- toString() - Method in class com.helger.photon.app.resource.WebSiteResourceWithCondition
U
- unregisterAllCSSIncludesFromGlobal() - Static method in class com.helger.photon.app.html.PhotonCSS
-
Unregister all existing CSS items from global scope.
- unregisterAllCSSIncludesFromThisRequest() - Static method in class com.helger.photon.app.html.PhotonCSS
-
Unregister all existing CSS items from this request
- unregisterAllJSIncludesFromGlobal() - Static method in class com.helger.photon.app.html.PhotonJS
-
Unregister all existing JS items from global scope.
- unregisterAllJSIncludesFromThisRequest() - Static method in class com.helger.photon.app.html.PhotonJS
-
Unregister all existing JS items from this request
- unregisterAllMetaElementsFromGlobal() - Static method in class com.helger.photon.app.html.PhotonMetaElements
-
Unregister all existing meta elements from global scope.
- unregisterAllMetaElementsFromThisRequest() - Static method in class com.helger.photon.app.html.PhotonMetaElements
-
Unregister all existing meta elements from this request
- unregisterCSSIncludeForGlobal(ICSSPathProvider) - Static method in class com.helger.photon.app.html.PhotonCSS
-
Unregister an existing CSS item for global scope.
- unregisterCSSIncludeFromThisRequest(ICSSPathProvider) - Static method in class com.helger.photon.app.html.PhotonCSS
-
Unregister an existing CSS item only from this request
- unregisterJSIncludeForGlobal(IJSPathProvider) - Static method in class com.helger.photon.app.html.PhotonJS
-
Unregister an existing JS item for global scope.
- unregisterJSIncludeFromThisRequest(IJSPathProvider) - Static method in class com.helger.photon.app.html.PhotonJS
-
Unregister a existing JS item only from this request
- unregisterMetaElementForGlobal(String) - Static method in class com.helger.photon.app.html.PhotonMetaElements
-
Unregister an existing meta element for global scope.
- unregisterMetaElementFromThisRequest(String) - Static method in class com.helger.photon.app.html.PhotonMetaElements
-
Unregister an existing meta element only from this request
V
- valueOf(String) - Static method in enum com.helger.photon.app.resource.EWebSiteResourceType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.helger.photon.app.resource.EWebSiteResourceType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WebFileIO - Class in com.helger.photon.app.io
-
Abstract for accessing files inside the web application.
- WebIOIntIDFactory - Class in com.helger.photon.app.io
-
A special
FileIntIDFactory
that usesWebFileIO
to get the filename. - WebIOIntIDFactory(String) - Constructor for class com.helger.photon.app.io.WebIOIntIDFactory
- WebIOLongIDFactory - Class in com.helger.photon.app.io
-
A special
FileLongIDFactory
that usesWebFileIO
to get the filename. - WebIOLongIDFactory(String) - Constructor for class com.helger.photon.app.io.WebIOLongIDFactory
- WEBSITE_RESOURCE_BUNDLES_XML - Static variable in class com.helger.photon.app.PhotonAppManager
- WebSiteResource - Class in com.helger.photon.app.resource
-
A single web site resource.
- WebSiteResource(EWebSiteResourceType, String, Charset) - Constructor for class com.helger.photon.app.resource.WebSiteResource
- WebSiteResourceBundle - Class in com.helger.photon.app.resource
-
This is a bundle of 1-n
WebSiteResource
objects that share the same conditional comment and can be bundled with each other. - WebSiteResourceBundle(List<WebSiteResourceWithCondition>, String, boolean, ICSSMediaList) - Constructor for class com.helger.photon.app.resource.WebSiteResourceBundle
- WebSiteResourceBundleManager - Class in com.helger.photon.app.resource
- WebSiteResourceBundleManager(String) - Constructor for class com.helger.photon.app.resource.WebSiteResourceBundleManager
- WebSiteResourceBundleSerialized - Class in com.helger.photon.app.resource
-
This class combines a
WebSiteResourceBundle
with an internal ID and a creation date time. - WebSiteResourceBundleSerialized(String, WebSiteResourceBundle, boolean) - Constructor for class com.helger.photon.app.resource.WebSiteResourceBundleSerialized
- WebSiteResourceCache - Class in com.helger.photon.app.resource
-
A global cache for
WebSiteResource
objects, to avoid the hash calculation over and over again. - WebSiteResourceWithCondition - Class in com.helger.photon.app.resource
-
This encapsulates a
WebSiteResource
together with an optional conditional comment. - WebSiteResourceWithCondition(EWebSiteResourceType, String, Charset, String, boolean, ICSSMediaList) - Constructor for class com.helger.photon.app.resource.WebSiteResourceWithCondition
-
Constructor
- WebSiteResourceWithCondition(WebSiteResource, String, boolean, ICSSMediaList) - Constructor for class com.helger.photon.app.resource.WebSiteResourceWithCondition
X
- xml(byte[], Charset) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- xml(IMicroNode) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- xml(IMicroNode, IXMLWriterSettings) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- xml(String, Charset) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- xml(Node) - Method in class com.helger.photon.app.PhotonUnifiedResponse
- xml(Node, IXMLWriterSettings) - Method in class com.helger.photon.app.PhotonUnifiedResponse
_
- _readCSSIncludes(IReadableResource, CSSResourceSet) - Static method in class com.helger.photon.app.html.PhotonCSS
- _readJSIncludes(IReadableResource, JSResourceSet) - Static method in class com.helger.photon.app.html.PhotonJS
- _readMetaElements(IReadableResource, MetaElementList) - Static method in class com.helger.photon.app.html.PhotonMetaElements
All Classes and Interfaces|All Packages|Constant Field Values