dfischer.femtowebserver.test
Interface BasicAuthGenericTestInterface

All Known Implementing Classes:
BasicAuthGenericTestWeblet

public interface BasicAuthGenericTestInterface

This (example) interface is a bridge between the abstract BasicAuthGenericTestWeblet and the real instance of the BasicAuthTestWeblet. It re-defines the HttpdWebletInterface by adding an authorized username.

 Sourcecode

 package dfischer.femtowebserver.test;
 import dfischer.femtowebserver.httpd.*;

 public interface BasicAuthGenericTestInterface
 {
    public abstract void execute(HttpRequest req, HttpResponse res, HttpdProperties httpdProperties, String username) throws Exception;
 }
 

See Also:
BasicAuthTestWeblet, BasicAuthGenericTestWeblet, HttpdWebletInterface

Method Summary
 void execute(HttpRequest req, HttpResponse res, HttpdProperties httpdProperties, java.lang.String username)
          Re-definition example of the HttpdWebletInterface by adding an authorized username
 

Method Detail

execute

public void execute(HttpRequest req,
                    HttpResponse res,
                    HttpdProperties httpdProperties,
                    java.lang.String username)
             throws java.lang.Exception
Re-definition example of the HttpdWebletInterface by adding an authorized username
See Also:
HttpdWebletInterface