rabbit.proxy
Interface HttpGeneratorFactory

All Known Implementing Classes:
FileTemplateHttpGeneratorFactory, StandardHttpGeneratorFactory

public interface HttpGeneratorFactory

The factory for the HttpGenerators used by rabbit.

Author:
Robert Olofsson

Method Summary
 HttpGenerator create(String serverIdentity, Connection connection)
          Create a HttpGenerator for the given connection
 void setup(SProperties props)
          Setup this factory.
 

Method Detail

create

HttpGenerator create(String serverIdentity,
                     Connection connection)
Create a HttpGenerator for the given connection

Parameters:
serverIdentity - the identity of the server
connection - the Connection handling the request

setup

void setup(SProperties props)
Setup this factory.

Parameters:
props - the config parameters