org.apache.xmlrpc

Class DefaultXmlRpcContext

Implemented Interfaces:
XmlRpcContext

public class DefaultXmlRpcContext
extends java.lang.Object
implements XmlRpcContext

A basic context object that stores the userName, password and handler mapping.
Version:
$Id: DefaultXmlRpcContext.java 233919 2005-04-22 10:26:17Z hgomez $
Author:
Andrew Evers
Since:
1.2

Field Summary

protected XmlRpcHandlerMapping
handlerMapping
protected String
password
protected String
userName

Constructor Summary

DefaultXmlRpcContext(String userName, String password, XmlRpcHandlerMapping handlerMapping)

Method Summary

XmlRpcHandlerMapping
getHandlerMapping()
Get the XML-RPC handler mapping for the server handling the request.
String
getPassword()
Get the password specified in the outer request.
String
getUserName()
Get the username specified in the outer request.

Field Details

handlerMapping

protected XmlRpcHandlerMapping handlerMapping

password

protected String password

userName

protected String userName

Constructor Details

DefaultXmlRpcContext

public DefaultXmlRpcContext(String userName,
                            String password,
                            XmlRpcHandlerMapping handlerMapping)

Method Details

getHandlerMapping

public XmlRpcHandlerMapping getHandlerMapping()
Get the XML-RPC handler mapping for the server handling the request.
Specified by:
getHandlerMapping in interface XmlRpcContext

getPassword

public String getPassword()
Get the password specified in the outer request.
Specified by:
getPassword in interface XmlRpcContext

getUserName

public String getUserName()
Get the username specified in the outer request.
Specified by:
getUserName in interface XmlRpcContext

Copyright B) 1999-2002 Apache Software Foundation. All Rights Reserved.