Project

General

Profile

« Previous | Next » 

Revision 669

Added by Matt Jones over 23 years ago

Added license terms to source code files, and cleaned up some javadoc
documentation in a few places.

View differences:

HttpMessage.java
1 1
/**
2
 *        Name: HttpMessage.java
3
 *     Purpose: Used for Java applet/application communication
4
 *              with servlet. Based on code given in the book
5
 *              "Java Servlet Programming" by Hunter & crawford
6
 *   Copyright: 2000 Regents of the University of California and the
7
 *              National Center for Ecological Analysis and Synthesis
8
 *     Authors: Dan Higgins modified for metacat by Chad Berkley
2
 *  '$RCSfile$'
3
 *    Purpose: Used for Java applet/application communication
4
 *             with servlet. Based on code given in the book
5
 *             "Java Servlet Programming" by Hunter & crawford
6
 *  Copyright: 2000 Regents of the University of California and the
7
 *             National Center for Ecological Analysis and Synthesis
8
 *    Authors: Dan Higgins modified for metacat by Chad Berkley
9
 *    Release: @release@
9 10
 *
10
 *     Version: '$Id$'
11
 *   '$Author$'
12
 *     '$Date$'
13
 * '$Revision$'
11 14
 *
12
 *     '$Author$'
13
 *     '$Date$'
14
 *     '$Revision$'
15
 * This program is free software; you can redistribute it and/or modify
16
 * it under the terms of the GNU General Public License as published by
17
 * the Free Software Foundation; either version 2 of the License, or
18
 * (at your option) any later version.
19
 *
20
 * This program is distributed in the hope that it will be useful,
21
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
 * GNU General Public License for more details.
24
 *
25
 * You should have received a copy of the GNU General Public License
26
 * along with this program; if not, write to the Free Software
27
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
15 28
 */
16 29

  
17 30
package edu.ucsb.nceas.metacat;
......
20 33
import java.net.*;
21 34
import java.util.*;
22 35

  
36
/**
37
 * Send a message to an HTTP server using either a GET or POST operation
38
 */
23 39
public class HttpMessage {
24 40
    public String contype;
25 41
    URL servlet = null;
......
139 155
        return buf.toString();
140 156
    }
141 157
}
142

  

Also available in: Unified diff