org.apache.xmlrpc
Class DefaultXmlRpcContext

java.lang.Object
  extended by 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

Field Summary
protected  XmlRpcHandlerMapping handlerMapping
           
protected  java.lang.String password
           
protected  java.lang.String userName
           
 
Constructor Summary
DefaultXmlRpcContext(java.lang.String userName, java.lang.String password, XmlRpcHandlerMapping handlerMapping)
           
 
Method Summary
 XmlRpcHandlerMapping getHandlerMapping()
          Get the XML-RPC handler mapping for the server handling the request.
 java.lang.String getPassword()
          Get the password specified in the outer request.
 java.lang.String getUserName()
          Get the username specified in the outer request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userName

protected java.lang.String userName

password

protected java.lang.String password

handlerMapping

protected XmlRpcHandlerMapping handlerMapping
Constructor Detail

DefaultXmlRpcContext

public DefaultXmlRpcContext(java.lang.String userName,
                            java.lang.String password,
                            XmlRpcHandlerMapping handlerMapping)
Method Detail

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.