directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r190324 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInit.java
Date Sun, 12 Jun 2005 23:02:44 GMT
Author: elecharny
Date: Sun Jun 12 16:02:44 2005
New Revision: 190324

URL: http://svn.apache.org/viewcvs?rev=190324&view=rev
Log:
Added a Javadoc for the encode method

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInit.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInit.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInit.java?rev=190324&r1=190323&r2=190324&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInit.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInit.java
Sun Jun 12 16:02:44 2005
@@ -457,6 +457,18 @@
         this.hasReqFlags = hasReqFlags;
     }
     
+    /**
+     * Generate the PDU which contains the encoded object.
+     * 
+     * The generation is done in two phases :
+     * - first, we compute the length of each part and the
+     *   global PDU length
+     * - second, we produce the PDU.
+     *   
+     * @param object The encoded PDU
+     * @return A ByteBuffer that contaons the PDU
+     * @throws EncoderException If anything goes wrong.
+     */
     public Object encode(Object object) throws EncoderException
     {
         // Calculate the lengths we need :



Mime
View raw message