public class RhnXmlRpcServer
extends redstone.xmlrpc.XmlRpcServer
| Constructor and Description |
|---|
RhnXmlRpcServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(java.io.InputStream xmlInput,
java.io.Writer output,
java.lang.String callerIp,
java.lang.String serverHost,
java.lang.String protoc)
Adding a method to get the callerIp into the XmlRpc for logging.
|
static java.lang.String |
getCallerIp()
Retrieve the IP of the current xmlrpc call's caller.
|
static java.lang.String |
getProtocol()
Retrieve the server protocol (http or https) used for the current xmlrpc call
|
static java.lang.String |
getServerName()
Retrieve the server name used for the current xmlrpc call
|
public void execute(java.io.InputStream xmlInput,
java.io.Writer output,
java.lang.String callerIp,
java.lang.String serverHost,
java.lang.String protoc)
throws java.lang.Throwable
xmlInput - The XML-RPC message.output - WritercallerIp - This is supplied for informational purposes and is madeserverHost - the hostname/ipaddress that the client used in
reference to the serverprotoc - the protocol the client used in connection to the server
available to custom processors.java.lang.Throwable - if the input stream contains unparseable XML or if
some error occurs in the SAX driver.public static java.lang.String getServerName()
public static java.lang.String getProtocol()
public static java.lang.String getCallerIp()