org.openmobileis.common.util.file.HTTPFileConduit Class Reference

List of all members.


Detailed Description

Title: OpenMobileIS project source
Description: Copy the content of a HTTP request in file call filename.in.

Way for the filename.out to be created. Then return it in the HTTP request answer. Allow to use a file to transfer HTTP request to a distant server using a file and return the server answer in the incomming request.

To use it, create the HTTP request and use localhost + port has server. Start the Conduit. Send the request.

The generated file format is : First line : the normal HTTP URL. Second line: empty line Rest of the file the HTTP request.

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

Definition at line 66 of file HTTPFileConduit.java.


Public Member Functions

 HTTPFileConduit (int port, String file)
 To define the .out file waiting time use the property :org.openmobileis.common.HTTPFileConduit.timeout.

Classes

class  LocalServer
class  TestMakeQuery

Constructor & Destructor Documentation

org.openmobileis.common.util.file.HTTPFileConduit.HTTPFileConduit ( int  port,
String  file 
)

To define the .out file waiting time use the property :org.openmobileis.common.HTTPFileConduit.timeout.

The time is in millisecond.

Definition at line 227 of file HTTPFileConduit.java.


The documentation for this class was generated from the following file:
Generated on Mon Jan 11 21:19:20 2010 for OpenMobileIS by  doxygen 1.5.4