com.partnersoft.net.soap
Class SoapDaemon
java.lang.Object
com.partnersoft.net.TcpSocketDaemon
com.partnersoft.net.http.HttpDaemon
com.partnersoft.net.soap.SoapDaemon
- All Implemented Interfaces:
- Daemon
public abstract class SoapDaemon
- extends HttpDaemon
A minimalist HTTP SOAP server. Subsists on text exchanges; you get the fun of parsing and generating the XML your own self.
Copyright 2009 Partner Software, Inc.
- Version:
- $Id$
- Author:
- Paul Reavis
|
Constructor Summary |
SoapDaemon(java.lang.String name,
int port)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoapDaemon
public SoapDaemon(java.lang.String name,
int port)
handleExchange
protected abstract java.lang.String handleExchange(java.lang.String xmlRequest)
handleRequest
protected HttpResponse handleRequest(HttpRequest request)
throws java.lang.Exception
- Description copied from class:
HttpDaemon
- Subclasses must implement this. HttpDaemon takes care of reading and parsing the request, and
then takes care of sending the response. Subclasses must construct the appropriate response for
the given request.
- Specified by:
handleRequest in class HttpDaemon
- Throws:
java.lang.Exception