Femto Web Server V1.4-F

dfischer.femtowebserver.test
Class TestWeblet

java.lang.Object
  |
  +--dfischer.femtowebserver.test.TestWeblet
All Implemented Interfaces:
HttpdWebletInterface

public class TestWeblet
extends java.lang.Object
implements HttpdWebletInterface

This Weblet example displays the HTML text "This is a Test Weblet".

You can download the sourcecode of all examples at: http://www.d-fischer.com/femto/FemtoProgrammingExamplesSourcecode.zip


Constructor Summary
TestWeblet()
           
 
Method Summary
 void execute(HttpRequest req, HttpResponse res, HttpdProperties httpdProperties)
          Executes the Weblet.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestWeblet

public TestWeblet()
Method Detail

execute

public void execute(HttpRequest req,
                    HttpResponse res,
                    HttpdProperties httpdProperties)
             throws java.lang.Exception
Description copied from interface: HttpdWebletInterface
Executes the Weblet.
Specified by:
execute in interface HttpdWebletInterface
Following copied from interface: dfischer.femtowebserver.httpd.HttpdWebletInterface
Parameters:
httpRequest - access to the HTTP request data (browser request)
httpResponse - Weblet HTTP response data (server response)
httpdProperties - read/only access to the Femto Web Server configuration

Femto Web Server V1.4-F

Copyright 2002, 2003, 2006 by Ingenieurbüro David Fischer GmbH, Switzerland. All rights reserved.