Femto Web Server V1.4-F

dfischer.femtowebserver.test
Class RedirectTestWeblet

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

public class RedirectTestWeblet
extends java.lang.Object
implements HttpdWebletInterface

This Weblet example redirects the browser to http://www.d-fischer.com .

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


Constructor Summary
RedirectTestWeblet()
           
 
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

RedirectTestWeblet

public RedirectTestWeblet()
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.