com.etasoft.trans.io
Class axHttpWriter

java.lang.Object
  extended bycom.etasoft.trans.io.axWriter
      extended bycom.etasoft.trans.io.axHttpWriter

public class axHttpWriter
extends axWriter

Http Writer.


Constructor Summary
axHttpWriter(java.lang.String httpPath, axInputParameters inputParams)
          Connect to HTTP server and open output stream.
 
Method Summary
 void close()
          Used.
 void open(java.lang.String httpPath, axInputParameters inputParams)
          Open HTTP connection.
 void write(char[] cbuf)
          Used.
 void write(java.lang.String section, java.util.HashMap tabFields, boolean prepareSQL)
          Write section and related elements or fields.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

axHttpWriter

public axHttpWriter(java.lang.String httpPath,
                    axInputParameters inputParams)
             throws axException
Connect to HTTP server and open output stream. httpPath example user01:pass1234@www.foo.com/README.htm;type=i

Method Detail

open

public void open(java.lang.String httpPath,
                 axInputParameters inputParams)
          throws axException
Open HTTP connection.

Specified by:
open in class axWriter
Throws:
axException

close

public void close()
           throws axException
Used.

Specified by:
close in class axWriter
Throws:
axException

write

public void write(char[] cbuf)
           throws axException
Used.

Overrides:
write in class axWriter
Throws:
axException

write

public void write(java.lang.String section,
                  java.util.HashMap tabFields,
                  boolean prepareSQL)
           throws axException
Write section and related elements or fields.

Overrides:
write in class axWriter
Throws:
axException