org.apache.xmlrpc
Class DefaultXmlRpcContext
java.lang.Object
org.apache.xmlrpc.DefaultXmlRpcContext
- All Implemented Interfaces:
- XmlRpcContext
public class DefaultXmlRpcContext
- extends java.lang.Object
- implements XmlRpcContext
A basic context object that stores the userName, password and
handler mapping.
- Since:
- 1.2
- Version:
- $Id: DefaultXmlRpcContext.html 359531 2005-12-28 13:59:25Z jochen $
- Author:
- Andrew Evers
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
userName
protected java.lang.String userName
password
protected java.lang.String password
handlerMapping
protected XmlRpcHandlerMapping handlerMapping
DefaultXmlRpcContext
public DefaultXmlRpcContext(java.lang.String userName,
java.lang.String password,
XmlRpcHandlerMapping handlerMapping)
getUserName
public java.lang.String getUserName()
- Description copied from interface:
XmlRpcContext
- Get the username specified in the outer request.
- Specified by:
getUserName
in interface XmlRpcContext
getPassword
public java.lang.String getPassword()
- Description copied from interface:
XmlRpcContext
- Get the password specified in the outer request.
- Specified by:
getPassword
in interface XmlRpcContext
getHandlerMapping
public XmlRpcHandlerMapping getHandlerMapping()
- Description copied from interface:
XmlRpcContext
- Get the XML-RPC handler mapping for the server handling the request.
- Specified by:
getHandlerMapping
in interface XmlRpcContext
Copyright 2001-2001-2005 Apache Software Foundation. All Rights Reserved.