Package org.apache.wicket.request.handler.resource

Examples of org.apache.wicket.request.handler.resource.WebExternalResourceRequestHandler


   *
   * @throws Exception
   */
  public void testWebExternalResourceRequestTarget() throws Exception
  {
    WebExternalResourceRequestHandler rt = new WebExternalResourceRequestHandler("/index.html");
    tester.processRequest(rt);
    assertTrue(tester.getContentTypeFromResponseHeader().startsWith("text/html"));
    tester.assertContains("<h1>Hello, World!</h1>");
  }
View Full Code Here


   * @throws Exception
   */
  @Test
  public void webExternalResourceRequestTarget() throws Exception
  {
    WebExternalResourceRequestHandler rt = new WebExternalResourceRequestHandler("/index.html");
    tester.processRequest(rt);
    assertTrue(tester.getContentTypeFromResponseHeader().startsWith("text/html"));
    tester.assertContains("<h1>Hello, World!</h1>");
  }
View Full Code Here

   * @throws Exception
   */
  @Test
  public void webExternalResourceRequestTarget() throws Exception
  {
    WebExternalResourceRequestHandler rt = new WebExternalResourceRequestHandler("/index.html");
    tester.processRequest(rt);
    assertTrue(tester.getContentTypeFromResponseHeader().startsWith("text/html"));
    tester.assertContains("<h1>Hello, World!</h1>");
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.request.handler.resource.WebExternalResourceRequestHandler

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.