org.apache.xmlrpc.test
Class SunHttpTransportProvider

java.lang.Object
  extended by org.apache.xmlrpc.test.ClientProviderImpl
      extended by org.apache.xmlrpc.test.WebServerProvider
          extended by org.apache.xmlrpc.test.SunHttpTransportProvider
All Implemented Interfaces:
ClientProvider

public class SunHttpTransportProvider
extends WebServerProvider

Implementation of BaseTest for testing the XmlRpcSunHttpTransport.


Field Summary
 
Fields inherited from class org.apache.xmlrpc.test.WebServerProvider
webServer
 
Fields inherited from class org.apache.xmlrpc.test.ClientProviderImpl
mapping
 
Constructor Summary
SunHttpTransportProvider(org.apache.xmlrpc.server.XmlRpcHandlerMapping pMapping, boolean pContentLength)
          Creates a new instance.
 
Method Summary
protected  org.apache.xmlrpc.client.XmlRpcTransportFactory getTransportFactory(org.apache.xmlrpc.client.XmlRpcClient pClient)
           
 
Methods inherited from class org.apache.xmlrpc.test.WebServerProvider
getConfig, getConfig, getServer, initWebServer, shutdown
 
Methods inherited from class org.apache.xmlrpc.test.ClientProviderImpl
getClient, getXmlRpcServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SunHttpTransportProvider

public SunHttpTransportProvider(org.apache.xmlrpc.server.XmlRpcHandlerMapping pMapping,
                                boolean pContentLength)
Creates a new instance.

Parameters:
pMapping - The test servers handler mapping.
pContentLength - Number of bytes being transmitted.
Method Detail

getTransportFactory

protected org.apache.xmlrpc.client.XmlRpcTransportFactory getTransportFactory(org.apache.xmlrpc.client.XmlRpcClient pClient)
Specified by:
getTransportFactory in class ClientProviderImpl


Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.