com.ibm.wbi.http.plugin
Class HttpDefaultGenerator

com.ibm.wbi.http.plugin.HttpDefaultGenerator

public class HttpDefaultGenerator

The default HTTP generator is used to retreive requests from the internet in a particular protocol format depending on the request if no generators were invoked by the rules engine or all of the invoked generators rejected the request.


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright information.
 com.ibm.wbi.http.plugin.MultiProtocolHandler handler
          The multiple protocol handler that will retrieve from the web.
 
Constructor Summary
HttpDefaultGenerator()
          Constructs a new http generator that is used as the default generator.
 
Method Summary
 void handleRequest(RequestEvent event)
          Handle the specified request event.
 void setSoTimeout(int t)
          Sets the timeout limit for a request.
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
IBM copyright information.

handler

public com.ibm.wbi.http.plugin.MultiProtocolHandler handler
The multiple protocol handler that will retrieve from the web.
Constructor Detail

HttpDefaultGenerator

public HttpDefaultGenerator()
Constructs a new http generator that is used as the default generator.
Method Detail

setSoTimeout

public void setSoTimeout(int t)
Sets the timeout limit for a request.
Parameters:
t - Timeout limit in milliseconds.

handleRequest

public void handleRequest(RequestEvent event)
Handle the specified request event.
Parameters:
event - The request event with an input and output stream.