rabbit.proxy
Class FileTemplateHttpGeneratorFactory

java.lang.Object
  extended by rabbit.proxy.FileTemplateHttpGeneratorFactory
All Implemented Interfaces:
HttpGeneratorFactory

public class FileTemplateHttpGeneratorFactory
extends Object
implements HttpGeneratorFactory

A HttpGeneratorFactory that creates FileTemplateHttpGenerator instances.

Author:
Robert Olofsson

Constructor Summary
FileTemplateHttpGeneratorFactory()
           
 
Method Summary
 HttpGenerator create(String identity, Connection con)
          Create a HttpGenerator for the given connection
 void setup(SProperties props)
          Setup this factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTemplateHttpGeneratorFactory

public FileTemplateHttpGeneratorFactory()
Method Detail

create

public HttpGenerator create(String identity,
                            Connection con)
Description copied from interface: HttpGeneratorFactory
Create a HttpGenerator for the given connection

Specified by:
create in interface HttpGeneratorFactory
Parameters:
identity - the identity of the server
con - the Connection handling the request

setup

public void setup(SProperties props)
Description copied from interface: HttpGeneratorFactory
Setup this factory.

Specified by:
setup in interface HttpGeneratorFactory
Parameters:
props - the config parameters