soaprmi.soaprpc
Class HttpSocketSoapServerConnection

java.lang.Object
  extended bysoaprmi.soaprpc.HttpSocketSoapServerConnection
All Implemented Interfaces:
java.lang.Runnable

public class HttpSocketSoapServerConnection
extends java.lang.Object
implements java.lang.Runnable

Encapsulate processing of web service in HTTP connection to Dispatcher.

Version:
$Revision: 1.22 $
Author:
Aleksander Slominski

Field Summary
static java.lang.String DEFAULT_CHARSET
           
 
Method Summary
 void doDefault(java.io.Writer writer)
           
 void doGet(java.io.Reader reader, java.io.Writer writer, java.util.Map bag, boolean body)
           
 int doPost(java.io.Reader reader, java.io.Writer writer, java.util.Map bag, int length)
           
 void error(java.lang.String msg, java.lang.Throwable thrw)
           
 java.lang.String getHeaders(int errCode, java.util.Map outHeaders, java.lang.String contentType, int contentLen, boolean keepalive)
           
 void run()
           
 void setConnectionProps(java.util.Map connectioProps_)
           
 void setSoapDispatcher(SoapDispatcher dsptr_)
           
 void setSocket(java.net.Socket s)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CHARSET

public static final java.lang.String DEFAULT_CHARSET
See Also:
Constant Field Values
Method Detail

setConnectionProps

public void setConnectionProps(java.util.Map connectioProps_)

setSoapDispatcher

public void setSoapDispatcher(SoapDispatcher dsptr_)

setSocket

public void setSocket(java.net.Socket s)

run

public void run()
Specified by:
run in interface java.lang.Runnable

getHeaders

public java.lang.String getHeaders(int errCode,
                                   java.util.Map outHeaders,
                                   java.lang.String contentType,
                                   int contentLen,
                                   boolean keepalive)

doPost

public int doPost(java.io.Reader reader,
                  java.io.Writer writer,
                  java.util.Map bag,
                  int length)
           throws java.io.IOException
Throws:
java.io.IOException

error

public void error(java.lang.String msg,
                  java.lang.Throwable thrw)

doGet

public void doGet(java.io.Reader reader,
                  java.io.Writer writer,
                  java.util.Map bag,
                  boolean body)
           throws java.io.IOException
Throws:
java.io.IOException

doDefault

public void doDefault(java.io.Writer writer)
               throws java.io.IOException
Throws:
java.io.IOException


Copyright (c) 2004 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.