/[classpath]/inetlib/source/gnu/inet/http/RequestBodyWriter.java
ViewVC logotype

Diff of /inetlib/source/gnu/inet/http/RequestBodyWriter.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by dog, Thu Oct 21 15:21:55 2004 UTC revision 1.3 by dog, Thu Nov 25 22:15:05 2004 UTC
# Line 1  Line 1 
1  /*  /*
2   * $Id$   * RequestBodyWriter.java
3   * Copyright (C) 2004 The Free Software Foundation   * Copyright (C) 2004 The Free Software Foundation
4   *   *
5   * This file is part of GNU inetlib, a library.   * This file is part of GNU inetlib, a library.
# Line 50  public interface RequestBodyWriter Line 50  public interface RequestBodyWriter
50     * Returns the total number of bytes that will be written in a single pass     * Returns the total number of bytes that will be written in a single pass
51     * by this writer.     * by this writer.
52     */     */
53    int getContentLength ();    int getContentLength();
54    
55    /**    /**
56     * Initialises the writer.     * Initialises the writer.
57     * This will be called before each pass.     * This will be called before each pass.
58     */     */
59    void reset ();    void reset();
60    
61    /**    /**
62     * Writes body content to the supplied buffer.     * Writes body content to the supplied buffer.
63     * @param buffer the content buffer     * @param buffer the content buffer
64     * @return the number of bytes written     * @return the number of bytes written
65     */     */
66    int write (byte[] buffer);    int write(byte[] buffer);
67        
68  }  }
69    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26