|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlrpc.test.ClientProviderImpl org.apache.xmlrpc.test.ServletWebServerProvider
public class ServletWebServerProvider
A provider class for testing the ServletWebServer
.
Field Summary | |
---|---|
protected org.apache.xmlrpc.webserver.XmlRpcServlet |
servlet
|
protected org.apache.xmlrpc.webserver.ServletWebServer |
webServer
|
Fields inherited from class org.apache.xmlrpc.test.ClientProviderImpl |
---|
mapping |
Constructor Summary | |
---|---|
protected |
ServletWebServerProvider(org.apache.xmlrpc.server.XmlRpcHandlerMapping pMapping,
boolean pContentLength)
Creates a new instance. |
Method Summary | |
---|---|
org.apache.xmlrpc.client.XmlRpcClientConfigImpl |
getConfig()
Returns the clients default configuration. |
protected org.apache.xmlrpc.client.XmlRpcClientConfigImpl |
getConfig(java.net.URL pServerURL)
|
org.apache.xmlrpc.server.XmlRpcServer |
getServer()
Returns the providers server instance. |
protected org.apache.xmlrpc.client.XmlRpcTransportFactory |
getTransportFactory(org.apache.xmlrpc.client.XmlRpcClient pClient)
|
protected org.apache.xmlrpc.webserver.XmlRpcServlet |
newXmlRpcServlet()
Creates a new instance of XmlRpcServlet . |
void |
shutdown()
Performs a shutdown of the server. |
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 |
Field Detail |
---|
protected final org.apache.xmlrpc.webserver.ServletWebServer webServer
protected final org.apache.xmlrpc.webserver.XmlRpcServlet servlet
Constructor Detail |
---|
protected ServletWebServerProvider(org.apache.xmlrpc.server.XmlRpcHandlerMapping pMapping, boolean pContentLength) throws javax.servlet.ServletException, java.io.IOException
pMapping
- The test servers handler mapping.
javax.servlet.ServletException
java.io.IOException
Method Detail |
---|
protected org.apache.xmlrpc.webserver.XmlRpcServlet newXmlRpcServlet()
XmlRpcServlet
.
public final org.apache.xmlrpc.client.XmlRpcClientConfigImpl getConfig() throws java.lang.Exception
ClientProvider
getConfig
in interface ClientProvider
getConfig
in class ClientProviderImpl
java.lang.Exception
- Creating the configuration failed.protected org.apache.xmlrpc.client.XmlRpcClientConfigImpl getConfig(java.net.URL pServerURL) throws java.lang.Exception
java.lang.Exception
protected org.apache.xmlrpc.client.XmlRpcTransportFactory getTransportFactory(org.apache.xmlrpc.client.XmlRpcClient pClient)
getTransportFactory
in class ClientProviderImpl
public org.apache.xmlrpc.server.XmlRpcServer getServer()
ClientProvider
public void shutdown()
ClientProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |