aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/net/URLConnection.java
AgeCommit message (Collapse)AuthorFilesLines
2003-03-20InetAddress.java, [...]: Merged copyright statements with classpath for ↵Michael Koch1-9/+36
easier merging. 2003-03-20 Michael Koch <konqueror@gmx.de> * java/net/InetAddress.java, java/net/JarURLConnection.java, java/net/PlainDatagramSocketImpl.java, java/net/PlainSocketImpl.java, java/net/URLConnection.java: Merged copyright statements with classpath for easier merging. From-SVN: r64611
2003-03-10DatagramSocket.java, [...]: Fixed some documentation tags to make javadoc ↵Michael Koch1-9/+9
and friends happy. 2003-03-10 Michael Koch <konqueror@gmx.de> * java/net/DatagramSocket.java, java/net/MulticastSocket.java, java/net/Socket.java, java/net/URL.java, java/net/URLConnection.java: Fixed some documentation tags to make javadoc and friends happy. From-SVN: r64083
2002-10-102002-10-08 Michael Koch <konqueror@gmx.de>Michael Koch1-0/+13
* java/net/HttpURLConnection.java (getPermission): New method. (getErrorStream): New stub method. (getHeaderFieldDate): New stub method. * java/net/Inet4Address.java: (isLinkLocalAddress): Typo fixed. * java/net/InetAddress.java: (readResolve): New stubbed method (for serialization). (isAnyLocalAddress): New stubbed method. (isLoopbackAddress): New stubbed method. (isLinkLocalAddress): New stubbed method. (isSiteLocalAddress): New stubbed method. (isMCGlobal): New stubbed method. (isMCNodeGlobal): New stubbed method. (isMCLinkLocal): New stubbed method. (isMCSiteLocal): New stubbed method. (isMCOrgLocal): New stubbed method. (getCanonicalHostName): New stubbed method. (getByAddress): Create instances of Inet4Address/Inet6Address, instead of InetAddress, documentation added. * java/net/MulticastSocket.java (getInterface): Removed FIXME. (getNetworkInterface): New method. (setNetworkInterface): New method. * java/net/NetworkInterface.java: (toString): Use property "line.separator" instead of "\n". * java/net/URLConnection.java (getContent): New stubbed method. * java/net/URLStreamHandler.java: (equals): New stubbed method. (hostsEqual): New stubbed method. (hashCode): New stubbed method. * java/net/natNetworkInterface.cc: (getRealNetworkInterfaces): Create Inet4Address object instead of InetAddress. From-SVN: r58002
2002-09-252002-09-25 Michael Koch <konqueror@gmx.de>Michael Koch1-7/+60
* java/net/DatagramPacket (DatagramPacket): Exception documentation added. (setData): Likewise. (setSocketAddress): Likewise. * java/net/DatagramSocketImpl.java (peek): Documentation addded. (peekData): Documentation addded. (send): Documentation addded. (receive): Documentation addded. (connect): New method. (disconnect): New method. (joinGroup): New abstract method. (leaveGroup): New abstract method. * java/net/InetSocketAddress.java (InetSocketAddress): Documentation added. (equals): final keyword added. (getAddress): final keyword added. (getHostName): final keyword added. (getPort): final keyword added. (hashCode): final keyword added. (isUnresolved): final keyword added. * java/net/MulticastSocket.java (MulticastSocket): Documentation added. (MulticastSocket): New method. (joinGroup): Documentation added. (joinGroup): New method. (leaveGroup): Documentation added. (leaveGroup): New method. (send): Documentation added. * java/net/NetworkInterface.java (getByName): Documentation added. (getByInetAddress): Documentation added. (getNetworkInterfaces): Documentation added. * java/net/PlainDatagramSocketImpl.java (connect): New method. (disconnect): New method. * java/net/SocketImpl.java (create): Documentation added. (shutdownInput): Convert public to protected, as it always was. (shutdownOutput): Convert public to protected, as it always was. * java/net/SocketOptions.java (whole file): Reintented. * java/net/URLClassLoader.java (URLClassLoader): SecurityManager check added, documentation added. (findResources): Documentation added. (findClass): Documentation added. (newInstance): More correct method arguments. * java/net/URLConnection.java (connect): Documentation added. (getContent): Documentation added. (getPermission): Documentation added. (getInputStream): Documentation added. (getOutputStream): Documentation added. (setDoInput): Throw correct exception, documentation added. (setDoOutput): Throw correct exception, documentation added. (setAllowUserInteraction): Throw correct exception, documentation added. (setUseCaches): Throw correct exception, documentation added. (setIfModifiedSince): Throw correct exception, documentation added. (setRequestProperty): Throw exception, documentation added. (addRequestProperty): Throw exception, documentation added. (getRequestProperty): Throw exception, documentation added. (getRequestProperties): Documentation added. (setContentHandlerFactory): Documentation added. (guessContentTypeFromName): protected to public. (setFileNameMap): Documentation added. * java/net/URLDecoder.java (URLDecoder): New method. (decode): Documentation added. (whole file): Reindented. * java/net/URLEncoder.java (encode): Documentation added. * java/net/natPlainDatagramSocketImpl.cc (connect): New method. (disconnect): New method. * javax/naming/RefAddr: (addrType): addrType was never final. (equals): Fix typo in method name. * javax/naming/BinaryRefAddr: (equals): Fix typo in method name. From-SVN: r57487
2002-09-13DatagramPacket.java (DatagramPacket): Added linebreak for 80 chars per line.Michael Koch1-1/+1
2002-09-13 Michael Koch <konqueror@gmx.de> * java/net/DatagramPacket.java (DatagramPacket): Added linebreak for 80 chars per line. * java/net/JarURLConection.java (getInputStream, getJarEntry): Likewise. * java/net/SocketPermission.java (SocketPermission class docu, implies): Likewise. * java/net/URLClassLoader.java (findResources): Likewise. * java/net/URLConnection.java: Reindendet remark for 80 chars per line From-SVN: r57105
2002-09-122002-09-12 Michael Koch <konqueror@gmx.de>Michael Koch1-19/+259
* java/net/DatagramSocketImpl.jav (peekData): New method. * java/net/PlainDatagramSocketImpl.java (peekData): New method. * java/net/natPlainDatagramSocketImpl.cc (peekData): New method. * java/net/URLConnection (getPermission): New method. (addRequestProperty): New method. (getRequestProperties): New method. (guessContentTypeFromStream): New method, not really implemented. (URLConnection): Added/updated documentation. (connect): Added/updated documentation. (getURL): Added/updated documentation. (getContentLength): Added/updated documentation. (getContentType: Added/updated documentation. (getContentEncoding): Added/updated documentation. (getExpiration): Added/updated documentation. (getDate): Added/updated documentation. (getLastModified): Added/updated documentation. (getHeaderField): Added/updated documentation. (getHeaderFields): Added/updated documentation. (getHeaderFieldInt): Added/updated documentation. (getHeaderFieldDate): Added/updated documentation. (getHeaderFieldKey): Added/updated documentation. (getContent): Added/updated documentation. (getInputStream): Added/updated documentation. (getOutputStream): Added/updated documentation. (toString): Added/updated documentation. (setDoInput): Added/updated documentation. (getDoInput): Added/updated documentation. (setDoOutput): Added/updated documentation. (getDoOutput): Added/updated documentation. (setAllowUserInteraction): Added/updated documentation. (getAllowUserInteraction): Added/updated documentation. (setDefaultAllowUserInteraction): Added/updated documentation. (getDefaultAllowUserInteraction): Added/updated documentation. (setUseCaches): Added/updated documentation. (getUseCaches): Added/updated documentation. (setIfModifiedSince): Added/updated documentation. (getIfModifiedSince): Added/updated documentation. (getDefaultUseCaches): Added/updated documentation. (setDefaultUseCaches): Added/updated documentation. (setRequestProperty): Added/updated documentation. (getRequestProperty): Added/updated documentation. (setDefaultRequestProperty): Added/updated documentation. (getDefaultRequestProperty): Added/updated documentation. (setContentHandlerFactory): Added/updated documentation. From-SVN: r57049
2002-08-27BindException.java, [...]: add/update of some @since/@deprecatedMichael Koch1-2/+9
2002-08-27 Michael Koch <konqueror@gmx.de> * java/net/BindException.java, java/net/JarURLConnection.java, java/net/FileNameMap.java, java/net/HttpURLConnection.java, java/net/InetSocketAddress.java, java/net/DatagramPacket.java, java/net/DatagramSocket.java, java/net/DatagramSocketImpl.java, java/net/MulticastSocket.java, java/net/PasswordAuthentication.java, java/net/ServerSocket.java, java/net/Socket.java, java/net/URLClassLoader.java, java/net/URLConnection.java: add/update of some @since/@deprecated From-SVN: r56608
2002-08-23URLConnection.java, [...]: Added implementation of getHeaderFields().Michael Koch1-0/+10
2003-08-23 Michael Koch <konqueror@gmx.de> * java/net/URLConnection.java, java/netJarURLConnection.java, gnu/gcj/protocol/core/Connection.java, gnu/gcj/protocol/file/Connection.java, gnu/gcj/protocol/http/Connection.java: Added implementation of getHeaderFields(). From-SVN: r56532
2001-01-07Fix bug in URLConnection and correct javadoc annotations in StringBuffer.Anthony Green1-2/+0
From-SVN: r38781
2000-03-07All files: Updated copyright information.Tom Tromey1-1/+1
* All files: Updated copyright information. * COPYING: New file. * COPYING.LIB: Removed. * LIBGCJ_LICENSE: We now use GPL + special exception. From-SVN: r32387
2000-02-26Minor clean up and bug fix.Anthony Green1-1/+1
From-SVN: r32196
2000-02-25re GNATS libgcj/38 (Static initializer in DecimalFormat eventually depends ↵Bryce McKinlay1-7/+21
on itself) 2000-02-25 Bryce McKinlay <bryce@albatross.co.nz> * java/net/URLConnection.java (initializeDateFormats): New private method. (getHeaderFieldDate): Call initializeDateFormats if required. locale, dateFormat1, dateFormat2, dateFormat3: Don't initialize these. Fix for PR libgcj/38. From-SVN: r32153
2000-02-21Makefile.in: Rebuilt.Anthony Green1-4/+21
* Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Add gnu/gcj/io/DefaultMimeTypes.java and gnu/gcj/io/MimeTypes.java * scripts/MakeDefaultMimeTypes.java: New file. * scripts/mime.types: New file. * scripts/classes.pl: Moved from top level. * classes.pl: Moved to scripts directory. * java/net/URLConnection.java: Implement guessContentTypeFromName. * gnu/gcj/io/MimeTypes.java: New file. * gnu/gcj/io/DefaultMimeTypes.java: New file. From-SVN: r32086
2000-01-19* All files: Updated copyright to reflect Cygnus purchase.Tom Tromey1-1/+1
From-SVN: r31504
1999-04-07Initial revisionTom Tromey1-0/+423
From-SVN: r26263