A B C D E F G H I J L M N O P Q R S T U V 
All Classes All Packages

A

addConfigModifier(String, ViewRendererConfigurationModifier) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
 
addRenderers(ViewRenderer...) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
Specifies additional template engines support (main engines are resolved with lookup).
addViewRenderers(ViewRenderer...) - Method in class ru.vyarus.guicey.gsp.ServerPagesBundle.ViewsBuilder
Additional view renderers (template engines support) to use for ViewBundle configuration.
adminApp(String, String, String) - Static method in class ru.vyarus.guicey.gsp.ServerPagesBundle
Register application in admin context.
adminApp(String, String, String, ClassLoader) - Static method in class ru.vyarus.guicey.gsp.ServerPagesBundle
Same as ServerPagesBundle.adminApp(String, String, String) but with custom classloader to use for assets loading.
app(String, String, String) - Static method in class ru.vyarus.guicey.gsp.ServerPagesBundle
Register application in main context.
app(String, String, String, ClassLoader) - Static method in class ru.vyarus.guicey.gsp.ServerPagesBundle
Same as ServerPagesBundle.app(String, String, String) but with custom classloader to use for assets loading.
AppBuilder(boolean, String, String, String, ClassLoader) - Constructor for class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle.AppBuilder
 
AppExtensionBuilder(String, ClassLoader) - Constructor for class ru.vyarus.guicey.gsp.app.ext.ServerPagesAppExtensionBundle.AppExtensionBuilder
 
applyDelayedExtensions(GuiceyEnvironment) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
Apply all configured extensions.
AppReportBuilder - Class in ru.vyarus.guicey.gsp.app
Builds server page application console report.
AssetError - Exception in ru.vyarus.guicey.gsp.app.filter
Exception indicates error serving asset (static resource) within ServerPagesFilter.
AssetError(HttpServletRequest, int) - Constructor for exception ru.vyarus.guicey.gsp.app.filter.AssetError
 
AssetLocation(String, ClassLoader, URL) - Constructor for class ru.vyarus.guicey.gsp.app.asset.AssetLookup.AssetLocation
 
assetLocations - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
AssetLookup - Class in ru.vyarus.guicey.gsp.app.asset
GSP application assets resolution (for exact application with all its extensions).
AssetLookup(String, Multimap<String, String>, Multimap<String, ClassLoader>) - Constructor for class ru.vyarus.guicey.gsp.app.asset.AssetLookup
 
AssetLookup.AssetLocation - Class in ru.vyarus.guicey.gsp.app.asset
Represent resolved asset location: actual classpath path (absolute) and target class loader (where resource found).
AssetResolutionServlet - Class in ru.vyarus.guicey.gsp.app.asset.servlet
Customized dropwizard AssetServlet which is able to search assets in multiple classpath locations.
AssetResolutionServlet(AssetLookup, String, String, Charset) - Constructor for class ru.vyarus.guicey.gsp.app.asset.servlet.AssetResolutionServlet
 
assets - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
AssetSources - Class in ru.vyarus.guicey.gsp.app.asset
Application classpath resources configuration object.
AssetSources() - Constructor for class ru.vyarus.guicey.gsp.app.asset.AssetSources
 
attach(String) - Method in class ru.vyarus.guicey.gsp.app.asset.AssetSources
Register one root asset location.
attach(String, ClassLoader) - Method in class ru.vyarus.guicey.gsp.app.asset.AssetSources
Same as AssetSources.attach(String) but with custom class loader to use for assets loading.
attach(String, String) - Method in class ru.vyarus.guicey.gsp.app.asset.AssetSources
Register location for exact url path (path-mapped locations override root mappings too).
attach(String, String, ClassLoader) - Method in class ru.vyarus.guicey.gsp.app.asset.AssetSources
Same as AssetSources.attach(String, String) but with custom class loader to use for assets loading.
attachAssets(String) - Method in class ru.vyarus.guicey.gsp.app.ext.ServerPagesAppExtensionBundle.AppExtensionBuilder
Add additional assets location.
attachAssets(String) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle.AppBuilder
Add additional assets location.
attachAssets(String, String) - Method in class ru.vyarus.guicey.gsp.app.ext.ServerPagesAppExtensionBundle.AppExtensionBuilder
Essentially the same as ServerPagesAppExtensionBundle.AppExtensionBuilder.attachAssets(String), but attach classpath assets to application sub url.
attachAssets(String, String) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle.AppBuilder
Essentially the same as ServerPagesAppBundle.AppBuilder.attachAssets(String), but attach classpath assets to application sub url.
attachWebjars() - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle.AppBuilder
Shortcut for #attachAssets("META-INF/resources/webjars/")).

B

build() - Method in class ru.vyarus.guicey.gsp.app.ext.ServerPagesAppExtensionBundle.AppExtensionBuilder
 
build() - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle.AppBuilder
 
build() - Method in class ru.vyarus.guicey.gsp.ServerPagesBundle.ViewsBuilder
 
build(DropwizardResourceConfig) - Static method in class ru.vyarus.guicey.gsp.app.rest.log.RestPathsAnalyzer
Collects all registered template resource paths for console logging.
build(ServerPagesApp) - Static method in class ru.vyarus.guicey.gsp.app.AppReportBuilder
Build application report.
builder() - Static method in class ru.vyarus.guicey.gsp.ServerPagesBundle
Creates global server pages support bundle which must be registered in the application.
buildRestPath(String, String) - Method in class ru.vyarus.guicey.gsp.app.rest.mapping.ViewRestLookup
 

C

canHandle(RequestEvent) - Static method in class ru.vyarus.guicey.gsp.app.rest.support.DirectTemplateExceptionMapper
Exception event first will be caught by listener, and it must not handle it initially.
CODE_400 - Static variable in class ru.vyarus.guicey.gsp.app.filter.redirect.ErrorRedirect
 
compareTo(ViewPath) - Method in class ru.vyarus.guicey.gsp.app.rest.log.ViewPath
 
configure() - Method in class ru.vyarus.guicey.gsp.info.GspInfoModule
 
configure(GuiceyEnvironment) - Method in class ru.vyarus.guicey.gsp.app.ext.ExtendedConfiguration
Apply delayed configuration, if registered.
configure(GuiceyEnvironment, AssetSources, ViewRestSources) - Method in interface ru.vyarus.guicey.gsp.app.ext.DelayedConfigurationCallback
Called under run phase to perform delayed extensions configuration.
ConfiguredViewBundle - Class in ru.vyarus.guicey.gsp.views
Views bundle with custom configuration handling.
ConfiguredViewBundle(ServerPagesGlobalState) - Constructor for class ru.vyarus.guicey.gsp.views.ConfiguredViewBundle
 

D

DEFAULT_ERROR_PAGE - Static variable in class ru.vyarus.guicey.gsp.app.filter.redirect.ErrorRedirect
Special code for default error page registration (ServerPagesAppBundle.AppBuilder.errorPage(String)).
DEFAULT_LOADER - Static variable in class ru.vyarus.guicey.gsp.app.asset.AssetSources
Default class loader used for assets loading.
delayedConfiguration(DelayedConfigurationCallback) - Method in class ru.vyarus.guicey.gsp.app.ext.ServerPagesAppExtensionBundle.AppExtensionBuilder
Used to delay actual configuration till runtime phase, when dropwizard configuration will be available (or, in case of complex setup, other bundles will perform all required initializations).
DelayedConfigurationCallback - Interface in ru.vyarus.guicey.gsp.app.ext
Assets and views delayed configuration callback for server pages application extensions.
destroy() - Method in class ru.vyarus.guicey.gsp.app.filter.ServerPagesFilter
 
detectLocale() - Method in class ru.vyarus.guicey.gsp.app.rest.support.DirectTemplateExceptionMapper
 
DirectTemplateExceptionMapper - Class in ru.vyarus.guicey.gsp.app.rest.support
NotFoundException thrown by jersey when matching rest path not found.
DirectTemplateExceptionMapper() - Constructor for class ru.vyarus.guicey.gsp.app.rest.support.DirectTemplateExceptionMapper
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class ru.vyarus.guicey.gsp.app.filter.ServerPagesFilter
 

E

enableFreemarkerCustomClassLoadersSupport() - Method in class ru.vyarus.guicey.gsp.ServerPagesBundle.ViewsBuilder
Configures custom freemarker TemplateLoader so freemarker could also see templates declared in custom class loaders.
equals(Object) - Method in class ru.vyarus.guicey.gsp.app.rest.log.HiddenViewPath
 
equals(Object) - Method in class ru.vyarus.guicey.gsp.app.rest.log.ViewPath
 
errorPage(int, String) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle.AppBuilder
Show special page instead of response with specified status code.
errorPage(String) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle.AppBuilder
Default error page (shown in case of exceptions and for all error return codes (>=400)).
errorPages - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
ErrorRedirect - Class in ru.vyarus.guicey.gsp.app.filter.redirect
Redirects response error to the configured error page (ServerPagesAppBundle.AppBuilder.errorPage(String)).
ErrorRedirect(String, Map<Integer, String>, SpaSupport) - Constructor for class ru.vyarus.guicey.gsp.app.filter.redirect.ErrorRedirect
 
ErrorTemplateView - Class in ru.vyarus.guicey.gsp.views.template
Error template rendering model.
ErrorTemplateView() - Constructor for class ru.vyarus.guicey.gsp.views.template.ErrorTemplateView
 
ErrorTemplateView(String) - Constructor for class ru.vyarus.guicey.gsp.views.template.ErrorTemplateView
 
ErrorTemplateView(String, Charset) - Constructor for class ru.vyarus.guicey.gsp.views.template.ErrorTemplateView
 
existsOrFail(String, AssetLookup) - Static method in class ru.vyarus.guicey.gsp.app.util.ResourceLookup
Shortcut for AssetLookup.load(String) with fail in case of not found template.
extendApp(String) - Static method in class ru.vyarus.guicey.gsp.ServerPagesBundle
Extend registered application.
extendApp(String, ClassLoader) - Static method in class ru.vyarus.guicey.gsp.ServerPagesBundle
Same as ServerPagesBundle.extendApp(String) but with custom classloader to use for assets loading.
extendApp(ExtendedConfiguration) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
Register, possibly delayed, application configuration.
ExtendedConfiguration - Class in ru.vyarus.guicey.gsp.app.ext
Gsp application extension object.
ExtendedConfiguration(String) - Constructor for class ru.vyarus.guicey.gsp.app.ext.ExtendedConfiguration
 

F

FILE_REQUEST_PATTERN - Static variable in class ru.vyarus.guicey.gsp.ServerPagesBundle
Default pattern for file request detection.
filePattern(String) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle.AppBuilder
Differentiation of template call from static resource is based on fact: static resources have extensions.
fileRequestPattern - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
filter(ContainerRequestContext) - Method in class ru.vyarus.guicey.gsp.app.rest.support.TemplateAnnotationFilter
 
filter(ContainerRequestContext, ContainerResponseContext) - Method in class ru.vyarus.guicey.gsp.app.rest.support.TemplateErrorResponseFilter
 
FreemarkerTemplateLoader - Class in ru.vyarus.guicey.gsp.app.asset.freemarker
Special template loader for freemarker, required to support custom assets class loaders.
FreemarkerTemplateLoader() - Constructor for class ru.vyarus.guicey.gsp.app.asset.freemarker.FreemarkerTemplateLoader
 
fullUriPath - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 

G

getApplication(String) - Method in class ru.vyarus.guicey.gsp.info.GspInfoService
 
getApplications() - Method in class ru.vyarus.guicey.gsp.info.GspInfoService
 
getAppName() - Method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
 
getApps() - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
 
getAssetExtensions() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
getAssetExtensions(String) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
 
getAssets() - Method in class ru.vyarus.guicey.gsp.app.ext.ExtendedConfiguration
 
getAssets() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
Returned assets are sorted for resolution: registration order of packages is preserved in order to be able to override resources from previous registrations.
getConfigModifiers() - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
 
getConfigurable() - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
 
getContext() - Method in class ru.vyarus.guicey.gsp.views.template.TemplateView
Note that this object is the only way to get original request path because templates are always rendered in rest endpoints after server redirect.
getContextError() - Static method in class ru.vyarus.guicey.gsp.app.filter.redirect.ErrorRedirect
Note: method is not supposed to be used directly as error object is directly available in model: ErrorTemplateView.getError().
getContextErrorOriginalUrl() - Static method in class ru.vyarus.guicey.gsp.app.filter.redirect.ErrorRedirect
Returned string is request.getRequestURI() from original request.
getContextPath() - Method in class ru.vyarus.guicey.gsp.app.util.TemplateRequest
 
getDefaultErrorPage() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
getDirectTemplateRenderer() - Method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
View renderer used for direct templates render (which can't be done with default dropwizard view mechanism due to the need of correct exception handling).
getError() - Method in class ru.vyarus.guicey.gsp.views.template.ErrorTemplateView
Returns exception object only during rendering of configured error page (from ServerPagesAppBundle.AppBuilder.errorPage(int, String)).
getErrorCode() - Method in class ru.vyarus.guicey.gsp.views.template.ErrorTemplateView
Shortcut for getError().getResponse().getStatus().
getErroredUrl() - Method in class ru.vyarus.guicey.gsp.views.template.ErrorTemplateView
Note returned only uri part (request.getRequestURI()).
getErrorPages() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
Default error page has -1 code.
getErrorRedirect() - Method in class ru.vyarus.guicey.gsp.app.filter.redirect.TemplateRedirect
 
getErrorTrace() - Method in class ru.vyarus.guicey.gsp.views.template.ErrorTemplateView
Method intended to be used in very simple error pages in order to quickly show stacktrace.
getFilesRegex() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
getHiddenViewPaths() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
Hidden methods appear when sub url mapped to different rest prefix, making all root rest paths under the same prefix unreachable.
getIndexFile() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
getInfo(ServerPagesGlobalState) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
getInstance() - Static method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
 
getLoader() - Method in class ru.vyarus.guicey.gsp.app.asset.AssetLookup.AssetLocation
 
getLoaders() - Method in class ru.vyarus.guicey.gsp.app.asset.AssetLookup
Returned map contains not only custom class loaders but also default class loader (this is important to grant proper resource override sequence).
getLoaders() - Method in class ru.vyarus.guicey.gsp.app.asset.AssetSources
NOTE: default loader (AssetSources.DEFAULT_LOADER) will be registered for each package.
getLocations() - Method in class ru.vyarus.guicey.gsp.app.asset.AssetLookup
 
getLocations() - Method in class ru.vyarus.guicey.gsp.app.asset.AssetSources
 
getMainAssetsLocation() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
Never starts with slash and always ends with slash.
getMainRestPrefix() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
getMappedUrl() - Method in class ru.vyarus.guicey.gsp.app.rest.log.MappedViewPath
 
getMapping() - Method in class ru.vyarus.guicey.gsp.app.rest.log.MappedViewPath
Returned url never starts with slash, but alwasys ends with slash.
getMappingUrl() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
getMatchingLoaders(String) - Method in class ru.vyarus.guicey.gsp.app.asset.AssetLookup
NOTE: method will return not only custom class loaders but also default application loader (AssetSources.DEFAULT_LOADER) because otherwise it will be impossible to preserve intended loading order.
getMatchingLocations(String) - Method in class ru.vyarus.guicey.gsp.app.asset.AssetLookup
Supposed to be used for error reporting.
getMethod() - Method in class ru.vyarus.guicey.gsp.app.rest.log.ViewPath
 
getName() - Method in class ru.vyarus.guicey.gsp.app.ext.ExtendedConfiguration
 
getName() - Method in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
getName() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
getOverridingMapping() - Method in class ru.vyarus.guicey.gsp.app.rest.log.HiddenViewPath
Returned url never starts with slash, but alwasys ends with slash.
getPath() - Method in class ru.vyarus.guicey.gsp.app.asset.AssetLookup.AssetLocation
 
getPath() - Method in class ru.vyarus.guicey.gsp.app.rest.log.MappedViewPath
 
getPrefix() - Method in class ru.vyarus.guicey.gsp.app.rest.log.MappedViewPath
Returned prefix starts and ends with slash.
getPrefixes() - Method in class ru.vyarus.guicey.gsp.app.rest.mapping.ViewRestLookup
 
getPrefixes() - Method in class ru.vyarus.guicey.gsp.app.rest.mapping.ViewRestSources
 
getPrimaryLocation() - Method in class ru.vyarus.guicey.gsp.app.asset.AssetLookup
 
getPrimaryMapping() - Method in class ru.vyarus.guicey.gsp.app.rest.mapping.ViewRestLookup
 
getPrimaryPrefix() - Method in class ru.vyarus.guicey.gsp.app.rest.mapping.ViewRestSources
 
getRelativePath(String) - Method in class ru.vyarus.guicey.gsp.app.asset.AssetLookup
Checks if provided path is an absolute path into primary location and returns relative url instead.
getRenderers() - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
 
getRenderers() - Method in class ru.vyarus.guicey.gsp.ServerPagesBundle
Method is available for custom template detection logic (similar that used inside server pages filter) or to validate state in tests.
getRequest() - Method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
Method may be used to access original request object (in edge cases).
getRequestURI() - Method in class ru.vyarus.guicey.gsp.app.util.TemplateRequest
 
getRequestURL() - Method in class ru.vyarus.guicey.gsp.app.util.TemplateRequest
 
getRequiredRenderers() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
getResource() - Method in class ru.vyarus.guicey.gsp.app.rest.log.ViewPath
 
getResourceType() - Method in class ru.vyarus.guicey.gsp.app.rest.log.ViewPath
 
getResourceURL(String) - Method in class ru.vyarus.guicey.gsp.app.asset.servlet.AssetResolutionServlet
 
getResponse() - Method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
Raw response is required for redirection logic to avoid response processing loops due to hk wrappers (if hk injection were used for response object injection it would always be a proxy).
getRestPrefix() - Method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
Context rest mapping path.
getRestRootUrl() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
May be used to construct full rest urls (relative to server root).
getRestSubContext() - Method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
Different rest prefix may be mapped to sub context (e.g.
getRootPath() - Method in class ru.vyarus.guicey.gsp.app.filter.redirect.TemplateRedirect
 
getRootUrl() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
getRootUrl() - Method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
 
getServletPath() - Method in class ru.vyarus.guicey.gsp.app.util.TemplateRequest
 
getSpaRegex() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
getStatus() - Method in exception ru.vyarus.guicey.gsp.app.filter.AssetError
 
getStatus() - Method in exception ru.vyarus.guicey.gsp.app.rest.support.TemplateRestCodeError
 
getStatus() - Method in interface ru.vyarus.guicey.gsp.app.util.TracelessException
 
getUrl() - Method in class ru.vyarus.guicey.gsp.app.asset.AssetLookup.AssetLocation
 
getUrl() - Method in class ru.vyarus.guicey.gsp.app.rest.log.ViewPath
 
getUrl() - Method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
Each template render is redirected to rest resource so it's impossible to obtain original uri from request object inside the resource.
getURL(String) - Method in class ru.vyarus.guicey.gsp.app.asset.freemarker.FreemarkerTemplateLoader
 
getViewConfiguration(Configuration) - Method in class ru.vyarus.guicey.gsp.views.ConfiguredViewBundle
 
getViewExtensions() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
getViewExtensions(String) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
 
getViewPaths() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
getViewRendererNames() - Method in class ru.vyarus.guicey.gsp.info.GspInfoService
 
getViewRenderers() - Method in class ru.vyarus.guicey.gsp.info.GspInfoService
 
getViews() - Method in class ru.vyarus.guicey.gsp.app.ext.ExtendedConfiguration
 
getViews() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
When root mapping is not explicitly declared, its set to application name (so map will never be empty).
getViewsConfig() - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
 
getViewsConfig() - Method in class ru.vyarus.guicey.gsp.info.GspInfoService
 
getViewsConfig() - Method in class ru.vyarus.guicey.gsp.ServerPagesBundle
Method is available for custom views configuration state analysis logic (after startup) or to validate state in tests.
GspApp - Class in ru.vyarus.guicey.gsp.info.model
Information model for registered gsp application.
GspApp() - Constructor for class ru.vyarus.guicey.gsp.info.model.GspApp
 
GspInfoModule - Class in ru.vyarus.guicey.gsp.info
GSP registrations Information module.
GspInfoModule() - Constructor for class ru.vyarus.guicey.gsp.info.GspInfoModule
 
GspInfoService - Class in ru.vyarus.guicey.gsp.info
Guicey service providing information about registered server pages applications.
GspInfoService(ServerPagesGlobalState) - Constructor for class ru.vyarus.guicey.gsp.info.GspInfoService
 

H

hasContextError() - Static method in class ru.vyarus.guicey.gsp.app.filter.redirect.ErrorRedirect
 
hashCode() - Method in class ru.vyarus.guicey.gsp.app.rest.log.HiddenViewPath
 
hashCode() - Method in class ru.vyarus.guicey.gsp.app.rest.log.ViewPath
 
HiddenViewPath - Class in ru.vyarus.guicey.gsp.app.rest.log
Gsp application hidden mapping.
HiddenViewPath(ViewPath, String, String, String) - Constructor for class ru.vyarus.guicey.gsp.app.rest.log.HiddenViewPath
 
hiddenViewPaths - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 

I

indexFile - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
indexPage(String) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle.AppBuilder
Declares index page (served for "/" calls).
init(FilterConfig) - Method in class ru.vyarus.guicey.gsp.app.filter.ServerPagesFilter
 
initialize(GuiceyBootstrap) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle
 
initialize(GuiceyBootstrap) - Method in class ru.vyarus.guicey.gsp.ServerPagesBundle
 
install(Environment, ServerPagesGlobalState) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesApp
Install configured server page app.
isDirectTemplate() - Method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
True means that one of registered view renderers recognize path as template file.
isHasDefaultFilesRegex() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
isHasDefaultSpaRegex() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
isLocked() - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
 
isMainContext() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
isMappable(NotFoundException) - Method in class ru.vyarus.guicey.gsp.app.rest.support.DirectTemplateExceptionMapper
 
isPrintConfiguration() - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
 
isSpa() - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
isStarted() - Method in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 

J

jerseyStarted(String, String, RestPathsAnalyzer) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesApp
Delayed initialization.

L

load(String) - Method in class ru.vyarus.guicey.gsp.app.asset.AssetLookup
Loads asset from classpath.
loadAsset(String) - Method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
Load asset from one of registered locations.
lock() - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
Called after dropwizard views initialization to prevent configuration after initialization.
lookup(String) - Method in class ru.vyarus.guicey.gsp.app.asset.AssetLookup
General lookup mechanism (used by AssetLookup.lookupUrl(String) and AssetLookup.lookupPath(String) shortcuts.
lookupOrFail(String, AssetLookup) - Static method in class ru.vyarus.guicey.gsp.app.util.ResourceLookup
Shortcut for AssetLookup.lookupPath(String) with fail in case of not found template.
lookupPath(String) - Method in class ru.vyarus.guicey.gsp.app.asset.AssetLookup
Same as AssetLookup.lookupUrl(String) but returns resolved absolute location in classpath (may be in custom class loader).
lookupRestPrefix(String) - Method in class ru.vyarus.guicey.gsp.app.rest.mapping.ViewRestLookup
 
lookupSubContext(String) - Method in class ru.vyarus.guicey.gsp.app.rest.mapping.ViewRestLookup
Lookup target rest context (rest prefix may be registered to sub url).
lookupTemplatePath(String) - Method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
Lookup relative template path either relative to resource class (if annotated with Template or in one of pre-configured classpath locations.
lookupUrl(String) - Method in class ru.vyarus.guicey.gsp.app.asset.AssetLookup
Lookup asset in classpath by path (relative to application root).

M

mainAssetsPath - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
mainContext - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
ManualErrorHandling - Annotation Type in ru.vyarus.guicey.gsp.views.template
By default, GSP errors mechanism intercept errors before ExceptionMapper and ErrorEntityWriter and so their result is ignored.
map(String) - Method in class ru.vyarus.guicey.gsp.app.rest.mapping.ViewRestSources
Register root rest mapping prefix.
map(String, String) - Method in class ru.vyarus.guicey.gsp.app.rest.mapping.ViewRestSources
Register prefix for exact url path (path-mapped prefixes override root mapping).
MappedViewPath - Class in ru.vyarus.guicey.gsp.app.rest.log
Gsp application view rest mapping.
MappedViewPath(ViewPath, String, String) - Constructor for class ru.vyarus.guicey.gsp.app.rest.log.MappedViewPath
 
mapViews(String) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle.AppBuilder
Specify default mapping prefix for views rest resources.
mapViews(String, String) - Method in class ru.vyarus.guicey.gsp.app.ext.ServerPagesAppExtensionBundle.AppExtensionBuilder
Map view rest to sub url.
mapViews(String, String) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle.AppBuilder
Map view rest to sub url, using different prefix than default.
markPossibleSpaRoute(HttpServletRequest, HttpServletResponse) - Method in class ru.vyarus.guicey.gsp.app.filter.redirect.SpaSupport
Simple to check for root page: if current request is already root request then no SPA route could be performed.
merge(AssetSources) - Method in class ru.vyarus.guicey.gsp.app.asset.AssetSources
Merge assets configurations (in-app config with global extensions).
merge(ViewRestSources) - Method in class ru.vyarus.guicey.gsp.app.rest.mapping.ViewRestSources
Merge configurations (in-app config with global extensions).
modify(Map<String, String>) - Method in interface ru.vyarus.guicey.gsp.views.ViewRendererConfigurationModifier
This map is automatically created if global configuration object did not contain it yet.

N

name - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 

O

onEvent(ApplicationEvent) - Method in class ru.vyarus.guicey.gsp.app.rest.support.TemplateExceptionListener
 
onRequest(RequestEvent) - Method in class ru.vyarus.guicey.gsp.app.rest.support.TemplateExceptionListener
 

P

printConfiguration() - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
Enable global views configuration logging to console.
printViewsConfiguration() - Method in class ru.vyarus.guicey.gsp.ServerPagesBundle.ViewsBuilder
Prints configuration object used for dropwizard views bundle (ViewBundle).

Q

QUOTE - Static variable in class ru.vyarus.guicey.gsp.app.rest.support.TemplateExceptionListener
 

R

redirect(HttpServletRequest, HttpServletResponse, int) - Method in class ru.vyarus.guicey.gsp.app.filter.redirect.SpaSupport
Perform redirection of SPA into index page (so browser receive index html on spa routing url) if conditions match.
redirect(HttpServletRequest, HttpServletResponse, WebApplicationException) - Method in class ru.vyarus.guicey.gsp.app.filter.redirect.ErrorRedirect
Try to redirect error to configured error page.
redirect(HttpServletRequest, HttpServletResponse, String, ViewRenderer) - Method in class ru.vyarus.guicey.gsp.app.filter.redirect.TemplateRedirect
Redirect template request into rest resource.
redirectError(Throwable) - Method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
Perform redirection to error page (if registered) or handle SPA route (if 404 response and SPA support enabled).
register(ServerPagesApp) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
Register application globally.
requiredRenderers - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
requireRenderers(String...) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle.AppBuilder
Specifies required template types (view renderes) for application.
ResourceLookup - Class in ru.vyarus.guicey.gsp.app.util
Utility used to lookup static resources in multiple locations.
RestPathsAnalyzer - Class in ru.vyarus.guicey.gsp.app.rest.log
Collects template resources for logging.
RestPathsAnalyzer() - Constructor for class ru.vyarus.guicey.gsp.app.rest.log.RestPathsAnalyzer
 
ru.vyarus.guicey.gsp - package ru.vyarus.guicey.gsp
 
ru.vyarus.guicey.gsp.app - package ru.vyarus.guicey.gsp.app
 
ru.vyarus.guicey.gsp.app.asset - package ru.vyarus.guicey.gsp.app.asset
 
ru.vyarus.guicey.gsp.app.asset.freemarker - package ru.vyarus.guicey.gsp.app.asset.freemarker
 
ru.vyarus.guicey.gsp.app.asset.servlet - package ru.vyarus.guicey.gsp.app.asset.servlet
 
ru.vyarus.guicey.gsp.app.ext - package ru.vyarus.guicey.gsp.app.ext
 
ru.vyarus.guicey.gsp.app.filter - package ru.vyarus.guicey.gsp.app.filter
 
ru.vyarus.guicey.gsp.app.filter.redirect - package ru.vyarus.guicey.gsp.app.filter.redirect
 
ru.vyarus.guicey.gsp.app.rest.log - package ru.vyarus.guicey.gsp.app.rest.log
 
ru.vyarus.guicey.gsp.app.rest.mapping - package ru.vyarus.guicey.gsp.app.rest.mapping
 
ru.vyarus.guicey.gsp.app.rest.support - package ru.vyarus.guicey.gsp.app.rest.support
 
ru.vyarus.guicey.gsp.app.util - package ru.vyarus.guicey.gsp.app.util
 
ru.vyarus.guicey.gsp.info - package ru.vyarus.guicey.gsp.info
 
ru.vyarus.guicey.gsp.info.model - package ru.vyarus.guicey.gsp.info.model
 
ru.vyarus.guicey.gsp.views - package ru.vyarus.guicey.gsp.views
 
ru.vyarus.guicey.gsp.views.template - package ru.vyarus.guicey.gsp.views.template
 
run(GuiceyEnvironment) - Method in class ru.vyarus.guicey.gsp.app.ext.ServerPagesAppExtensionBundle
 
run(GuiceyEnvironment) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle
 
run(GuiceyEnvironment) - Method in class ru.vyarus.guicey.gsp.ServerPagesBundle
 

S

select(String) - Method in class ru.vyarus.guicey.gsp.app.rest.log.RestPathsAnalyzer
 
ServerPagesApp - Class in ru.vyarus.guicey.gsp.app
Server pages application initialization logic.
ServerPagesApp() - Constructor for class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
ServerPagesAppBundle - Class in ru.vyarus.guicey.gsp.app
Bundle for server pages application installation (initialized with either ServerPagesBundle.app(String, String, String) or ServerPagesBundle.adminApp(String, String, String)).
ServerPagesAppBundle(ServerPagesApp) - Constructor for class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle
 
ServerPagesAppBundle.AppBuilder - Class in ru.vyarus.guicey.gsp.app
Server pages application bundle builder.
ServerPagesAppExtensionBundle - Class in ru.vyarus.guicey.gsp.app.ext
Bundle for extending (or overriding) registered server pages app resources (through ServerPagesBundle.extendApp(String)).
ServerPagesAppExtensionBundle(String) - Constructor for class ru.vyarus.guicey.gsp.app.ext.ServerPagesAppExtensionBundle
 
ServerPagesAppExtensionBundle.AppExtensionBuilder - Class in ru.vyarus.guicey.gsp.app.ext
Extensions bundle builder.
ServerPagesBundle - Class in ru.vyarus.guicey.gsp
Bundle unifies dropwizard-views and dropwizard-assets bundles in order to bring server templating simplicity like with jsp.
ServerPagesBundle(ServerPagesGlobalState) - Constructor for class ru.vyarus.guicey.gsp.ServerPagesBundle
 
ServerPagesBundle.ViewsBuilder - Class in ru.vyarus.guicey.gsp
Global server pages support bundle builder.
ServerPagesFilter - Class in ru.vyarus.guicey.gsp.app.filter
The main filter, implementing server pages support.
ServerPagesFilter(String, String, String, TemplateRedirect, SpaSupport, Iterable<ViewRenderer>) - Constructor for class ru.vyarus.guicey.gsp.app.filter.ServerPagesFilter
 
ServerPagesGlobalState - Class in ru.vyarus.guicey.gsp.app
Global configuration object shared by all server page bundles.
ServerPagesGlobalState() - Constructor for class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
 
setAnnotationTemplate(String) - Method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
Used by TemplateAnnotationFilter to set template file declared in Template annotation on rest resource.
setAssetExtensions(Multimap<String, String>) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setAssets(Multimap<String, String>) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setConfigurable(ViewConfigurable<T>) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
Specifies global views configuration binding (usually from application configuration object).
setDelayedCallback(DelayedConfigurationCallback) - Method in class ru.vyarus.guicey.gsp.app.ext.ExtendedConfiguration
 
setEnvironment(Environment) - Method in class ru.vyarus.guicey.gsp.info.GspInfoModule
 
setErrorPages(Map<Integer, String>) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setFilesRegex(String) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setHasDefaultFilesRegex(boolean) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setHasDefaultSpaRegex(boolean) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setHiddenViewPaths(List<HiddenViewPath>) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setIndexFile(String) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setMainAssetsLocation(String) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setMainContext(boolean) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setManualErrorHandling(boolean) - Method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
Disables GSP error pages support.
setMappingUrl(String) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setName(String) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setRequiredRenderers(List<String>) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setResourceClass(Class) - Method in class ru.vyarus.guicey.gsp.views.template.TemplateContext
Set resource class to check template relative to class.
setRestRootUrl(String) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setRootPath(String, String) - Method in class ru.vyarus.guicey.gsp.app.filter.redirect.TemplateRedirect
 
setRootUrl(String) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setSpa(boolean) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setSpaRegex(String) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setViewExtensions(Map<String, String>) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setViewPaths(List<MappedViewPath>) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
setViews(Map<String, String>) - Method in class ru.vyarus.guicey.gsp.info.model.GspApp
 
spaNoRedirectRegex - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
spaRouting() - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle.AppBuilder
Shortcut for ServerPagesAppBundle.AppBuilder.spaRouting(String) with default regexp.
spaRouting(String) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle.AppBuilder
Enable single page application html5 routing support.
spaSupport - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
SpaSupport - Class in ru.vyarus.guicey.gsp.app.filter.redirect
SPA routes support (HTML5 client routing).
SpaSupport(boolean, String, String, String) - Constructor for class ru.vyarus.guicey.gsp.app.filter.redirect.SpaSupport
 

T

Template - Annotation Type in ru.vyarus.guicey.gsp.views.template
Declare template file in classpath, relative to current class or any registered root templates dir (in classpath).
TemplateAnnotationFilter - Class in ru.vyarus.guicey.gsp.app.rest.support
Request filter for Template annotated resources read configured template path (to be used in model).
TemplateAnnotationFilter() - Constructor for class ru.vyarus.guicey.gsp.app.rest.support.TemplateAnnotationFilter
 
templateContext() - Static method in class ru.vyarus.guicey.gsp.app.filter.redirect.TemplateRedirect
 
TemplateContext - Class in ru.vyarus.guicey.gsp.views.template
Contains context information for rendered template.
TemplateContext(String, String, String, String, ViewRenderer, AssetLookup, ErrorRedirect, HttpServletRequest, HttpServletResponse) - Constructor for class ru.vyarus.guicey.gsp.views.template.TemplateContext
 
TemplateErrorResponseFilter - Class in ru.vyarus.guicey.gsp.app.rest.support
Detect direct status response from rest (e.g.
TemplateErrorResponseFilter() - Constructor for class ru.vyarus.guicey.gsp.app.rest.support.TemplateErrorResponseFilter
 
TemplateExceptionListener - Class in ru.vyarus.guicey.gsp.app.rest.support
Application listener for template processing exceptions detection.
TemplateExceptionListener() - Constructor for class ru.vyarus.guicey.gsp.app.rest.support.TemplateExceptionListener
 
TemplateNotFoundException - Exception in ru.vyarus.guicey.gsp.views.template
Exception thrown when template not found in configured classpath locations.
TemplateNotFoundException(String) - Constructor for exception ru.vyarus.guicey.gsp.views.template.TemplateNotFoundException
 
templateRedirect - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
TemplateRedirect - Class in ru.vyarus.guicey.gsp.app.filter.redirect
Performs redirection of template request into rest context.
TemplateRedirect(Servlet, String, String, ViewRestLookup, AssetLookup, ErrorRedirect) - Constructor for class ru.vyarus.guicey.gsp.app.filter.redirect.TemplateRedirect
 
TemplateRequest - Class in ru.vyarus.guicey.gsp.app.util
Request wrapper used to prefix app name into original request url during redirection to rest.
TemplateRequest(HttpServletRequest, String, String, String) - Constructor for class ru.vyarus.guicey.gsp.app.util.TemplateRequest
 
TemplateRestCodeError - Exception in ru.vyarus.guicey.gsp.app.rest.support
Exception indicates error processing template handling rest call, when resource directly return non 200 code (e.g.
TemplateRestCodeError(ContainerRequestContext, int) - Constructor for exception ru.vyarus.guicey.gsp.app.rest.support.TemplateRestCodeError
 
TemplateView - Class in ru.vyarus.guicey.gsp.views.template
View template rendering model.
TemplateView() - Constructor for class ru.vyarus.guicey.gsp.views.template.TemplateView
Template obtained from Template annotation on resource.
TemplateView(String) - Constructor for class ru.vyarus.guicey.gsp.views.template.TemplateView
If template name is null, it will be obtained from Template annotation on resource.
TemplateView(String, Charset) - Constructor for class ru.vyarus.guicey.gsp.views.template.TemplateView
If template name is null, it will be obtained from Template annotation on resource.
toResponse(NotFoundException) - Method in class ru.vyarus.guicey.gsp.app.rest.support.DirectTemplateExceptionMapper
 
toString() - Method in class ru.vyarus.guicey.gsp.app.rest.log.HiddenViewPath
 
toString() - Method in class ru.vyarus.guicey.gsp.app.rest.log.MappedViewPath
 
toString() - Method in class ru.vyarus.guicey.gsp.app.rest.log.ViewPath
 
TracelessException - Interface in ru.vyarus.guicey.gsp.app.util
Marker interface for special exceptions which does not contain actual stack trace (no exception was thrown in user code) and used only to wrap return status code.

U

uriPath - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 

V

value() - Method in annotation type ru.vyarus.guicey.gsp.views.template.Template
 
ViewPath - Class in ru.vyarus.guicey.gsp.app.rest.log
Represents template rest method.
ViewPath(ResourceMethod, Resource, Class<?>, String) - Constructor for class ru.vyarus.guicey.gsp.app.rest.log.ViewPath
 
viewPaths - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
viewPrefixes - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
ViewRendererConfigurationModifier - Interface in ru.vyarus.guicey.gsp.views
Dropwizard views configuration modifier.
ViewRestLookup - Class in ru.vyarus.guicey.gsp.app.rest.mapping
View rest endpoints are mapped with a prefix: so gsp application call /something could be remapped to [rest]/[prefix]/something.
ViewRestLookup(Map<String, String>) - Constructor for class ru.vyarus.guicey.gsp.app.rest.mapping.ViewRestLookup
 
ViewRestSources - Class in ru.vyarus.guicey.gsp.app.rest.mapping
Application views rest mappings configuration object.
ViewRestSources() - Constructor for class ru.vyarus.guicey.gsp.app.rest.mapping.ViewRestSources
 
views - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
ViewsBuilder() - Constructor for class ru.vyarus.guicey.gsp.ServerPagesBundle.ViewsBuilder
 
viewsConfig(Map<String, Map<String, String>>) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesGlobalState
 
viewsConfigModifiers - Variable in class ru.vyarus.guicey.gsp.app.ServerPagesApp
 
viewsConfiguration(ViewConfigurable<T>) - Method in class ru.vyarus.guicey.gsp.ServerPagesBundle.ViewsBuilder
Configures configuration provider for ViewBundle (usually mapping from yaml configuration).
viewsConfigurationModifier(String, ViewRendererConfigurationModifier) - Method in class ru.vyarus.guicey.gsp.app.ServerPagesAppBundle.AppBuilder
Dropwizard views configuration modification.
viewsConfigurationModifier(String, ViewRendererConfigurationModifier) - Method in class ru.vyarus.guicey.gsp.ServerPagesBundle.ViewsBuilder
Dropwizard views configuration modification.
A B C D E F G H I J L M N O P Q R S T U V 
All Classes All Packages