Package org.apache.wicket.core.request.mapper

Examples of org.apache.wicket.core.request.mapper.ResourceReferenceMapper


  {
    this.application = application;
    add(new PageInstanceMapper());
    add(new BookmarkableMapper());
    add(new HomePageMapper(new HomePageProvider(application)));
    add(new ResourceReferenceMapper(new PageParametersEncoder(),
      new ParentFolderPlaceholderProvider(application), getResourceCachingStrategy()));
    add(RestartResponseAtInterceptPageException.MAPPER);
    add(new BufferedResponseMapper());
  }
View Full Code Here


        /**
         * Install this {@code StaticResourceRewriteMapper} into the given application. The
         * {@code StaticResourceRewriteMapper} instance will not have any effect unless it is installed.
         */
        public void install(final WebApplication app) {
            final IRequestMapper delegate = new ResourceReferenceMapper(new PageParametersEncoder(),
                                                                        newParentFolderPlaceholder(app),
                                                                        newResourceCachingStrategy(app));

            final StaticResourceRewriteMapper mapper = new StaticResourceRewriteMapper(url, delegate);
            app.mount(mapper);
View Full Code Here

  {
    this.application = application;
    add(new PageInstanceMapper());
    add(new BookmarkableMapper());
    add(new HomePageMapper(new HomePageProvider(application)));
    add(new ResourceReferenceMapper(new PageParametersEncoder(),
      new ParentFolderPlaceholderProvider(application), getResourceCachingStrategy()));
    add(new UrlResourceReferenceMapper());
    add(RestartResponseAtInterceptPageException.MAPPER);
    add(new BufferedResponseMapper());
  }
View Full Code Here

  {
    this.application = application;
    add(new PageInstanceMapper());
    add(new BookmarkableMapper());
    add(new HomePageMapper(new HomePageProvider<Page>(application)));
    add(new ResourceReferenceMapper(new PageParametersEncoder(),
      new ParentFolderPlaceholderProvider(application), getResourceCachingStrategy()));
    add(RestartResponseAtInterceptPageException.MAPPER);
    add(new BufferedResponseMapper());
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.core.request.mapper.ResourceReferenceMapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.