dfischer.femtowebserver.test
Class TestNoWeblet

java.lang.Object
  |
  +--dfischer.femtowebserver.test.TestNoWeblet

public class TestNoWeblet
extends java.lang.Object

This Weblet example proves, that the Femto Web Server will *NOT* display nor execute java classes with no HttpdWebletInterface. So all other classes inside the CLASSPATH are protected. If someone tries to access a "normal" class, the Femto Web Server will respond with "403 Forbidden".

 Sourcecode

 public class TestNoWeblet
 {
 
     public TestNoWeblet()
     {
         System.out.println("You will never see this message.");
         System.out.println("Because HttpdWebletInterface has not been implemented");
     }
 } 
 

See Also:
HttpdWebletInterface

Constructor Summary
TestNoWeblet()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestNoWeblet

public TestNoWeblet()