dlr         02/02/19 12:43:26

  Modified:    src/java/org/apache/xmlrpc XmlRpcServer.java
  Log:
  JavaDoc formatting for 80 columns.
  
  Revision  Changes    Path
  1.13      +25 -15    xml-rpc/src/java/org/apache/xmlrpc/XmlRpcServer.java
  
  Index: XmlRpcServer.java
  ===================================================================
  RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpcServer.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -u -r1.12 -r1.13
  --- XmlRpcServer.java 19 Feb 2002 20:41:35 -0000      1.12
  +++ XmlRpcServer.java 19 Feb 2002 20:43:26 -0000      1.13
  @@ -73,8 +73,8 @@
       Hashtable handlers;
   
       /**
  -     * Construct a new XML-RPC server. You have to register handlers to make it
  -     * do something useful.
  +     * Construct a new XML-RPC server. You have to register handlers
  +     * to make it do something useful.
        */
       public XmlRpcServer ()
       {
  @@ -82,10 +82,15 @@
       }
   
       /**
  -      * Register a handler object with this name. Methods of this objects will be
  -      * callable over XML-RPC as "handlername.methodname". For more information
  -      * about XML-RPC handlers see the <a href="../index.html#1a">main 
documentation page</a>.
  -      */
  +     * Register a handler object with this name. Methods of this
  +     * objects will be callable over XML-RPC as
  +     * "handlername.methodname". For more information about XML-RPC
  +     * handlers see the <a href="../index.html#1a">main documentation
  +     * page</a>.
  +     *
  +     * @param handlername The name to identify the handler by.
  +     * @param handler The handler itself.
  +     */
       public void addHandler (String handlername, Object handler)
       {
           if (handler instanceof XmlRpcHandler ||
  @@ -96,27 +101,32 @@
       }
   
       /**
  -      * Remove a handler object that was previously registered with this server.
  -      */
  +     * Remove a handler object that was previously registered with
  +     * this server.
  +     *
  +     * @param handlername The name identifying the handler to remove.
  +     */
       public void removeHandler (String handlername)
       {
           handlers.remove (handlername);
       }
   
       /**
  -      * Parse the request and execute the handler method, if one is found. Returns 
the result as XML.
  -      * The calling Java code doesn't need to know whether the call was successful 
or not since this is all
  -      * packed into the response.
  -      */
  +     * Parse the request and execute the handler method, if one is
  +     * found. Returns the result as XML.  The calling Java code
  +     * doesn't need to know whether the call was successful or not
  +     * since this is all packed into the response.
  +     */
       public byte[] execute (InputStream is)
       {
           return execute (is, null, null);
       }
   
       /**
  -      * Parse the request and execute the handler method, if one is found. If the 
invoked handler is
  -      * AuthenticatedXmlRpcHandler, use the credentials to authenticate the user.
  -      */
  +     * Parse the request and execute the handler method, if one is
  +     * found. If the invoked handler is AuthenticatedXmlRpcHandler,
  +     * use the credentials to authenticate the user.
  +     */
       public byte[] execute (InputStream is, String user, String password)
       {
           Worker worker = getWorker ();
  
  
  


Reply via email to