| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/net/BASE64.java,
gnu/java/net/CRLFInputStream.java,
gnu/java/net/CRLFOutputStream.java,
gnu/java/net/EmptyX509TrustManager.java,
gnu/java/net/GetLocalHostAction.java,
gnu/java/net/GetSystemPropertyAction.java,
gnu/java/net/LineInputStream.java,
gnu/java/net/protocol/http/Authenticator.java,
gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
gnu/java/net/protocol/http/ChunkedInputStream.java,
gnu/java/net/protocol/http/Cookie.java,
gnu/java/net/protocol/http/CookieManager.java,
gnu/java/net/protocol/http/Credentials.java,
gnu/java/net/protocol/http/HTTPConnection.java,
gnu/java/net/protocol/http/HTTPDateFormat.java,
gnu/java/net/protocol/http/HTTPURLConnection.java,
gnu/java/net/protocol/http/Headers.java,
gnu/java/net/protocol/http/Request.java,
gnu/java/net/protocol/http/RequestBodyWriter.java,
gnu/java/net/protocol/http/Response.java,
gnu/java/net/protocol/http/ResponseBodyReader.java,
gnu/java/net/protocol/http/ResponseHeaderHandler.java,
gnu/java/net/protocol/http/SimpleCookieManager.java,
gnu/java/net/protocol/http/event/ConnectionEvent.java,
gnu/java/net/protocol/http/event/ConnectionListener.java,
gnu/java/net/protocol/http/event/RequestEvent.java,
gnu/java/net/protocol/http/event/RequestListener.java:
New files
* gnu/java/net/protocol/http/Connection.java:
gnu/java/net/protocol/http/TODO: Removed
* gnu/java/net/protocol/http/Handler.java: Updated.
Merged HTTP protocol implementation from GNU inetlib.
|
| |
|
|
|
|
|
|
|
|
|
| |
* gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
typo.
2004-11-06 Michael Koch <konqueror@gmx.de>
PR libjava/14009
* gnu/java/net/protocol/http/Connection.java
(sendRequest): Handle case when url.getFile() returns an empty string.
|
| |
|
|
|
| |
* gnu/java/net/protocol/http/Connection.java
(getOutputStream): Implicitely switch to POST method.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/awt/BitwiseXORComposite.java,
gnu/java/awt/ClasspathToolkit.java,
gnu/java/awt/image/XBMDecoder.java,
gnu/java/awt/peer/GLightweightPeer.java,
gnu/java/awt/peer/gtk/GdkGlyphVector.java,
gnu/java/io/EncodingManager.java,
gnu/java/net/PlainDatagramSocketImpl.java,
gnu/java/net/protocol/http/Connection.java,
gnu/java/nio/NIODatagramSocket.java,
gnu/java/nio/ServerSocketChannelImpl.java,
gnu/java/nio/charset/UTF_16.java,
gnu/java/nio/charset/UTF_16BE.java,
gnu/java/nio/charset/UTF_16LE.java,
gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
gnu/java/rmi/rmic/RMIC.java,
gnu/java/rmi/server/RMIHashes.java,
gnu/java/rmi/server/RMIObjectInputStream.java,
gnu/java/rmi/server/RMIObjectOutputStream.java,
gnu/java/rmi/server/UnicastConnection.java,
gnu/java/rmi/server/UnicastConnectionManager.java,
gnu/java/rmi/server/UnicastRemoteCall.java,
gnu/java/rmi/server/UnicastServer.java,
gnu/java/rmi/server/UnicastServerRef.java,
gnu/java/security/OID.java,
gnu/java/security/provider/DSAParameters.java,
gnu/java/security/provider/DSASignature.java,
gnu/java/security/x509/X500DistinguishedName.java,
gnu/java/security/x509/X509CRL.java,
gnu/javax/rmi/CORBA/DelegateFactory.java,
gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
gnu/javax/rmi/CORBA/StubDelegateImpl.java,
gnu/javax/rmi/PortableServer.java:
Reorganized import statements.
|
| |
|
|
|
|
|
|
|
|
| |
* gnu/java/security/action/GetPropertyAction.java (setParameters):
Renamed from 'setName'. New 2-argument form with default value.
(run): Pass default 'value' parameter to System.getProperty().
* gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
typos.
* gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
not 'setName'.
|
| |
|
|
|
|
|
|
|
|
| |
not yet set.
* gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
from system property inside AccessController.doPrivileged() call.
(proxyPort): Made package private.
(proxyInUse): Likewise.
(proxyHost): Likewise.
(userAgent): Likewise.
|
| |
|
|
|
| |
final field.
(sendRequest): Use new field in user-agent http agent.
|
| |
|
|
|
| |
* gnu/java/net/protocol/http/Connection.java
(getOutputStream): Dont set POST method.
|
| |
|
|
|
| |
* gnu/java/net/protocol/http/Connection.java
(getOutputStream): Fixed typo.
|
| |
|
|
|
|
|
|
|
| |
* gnu/java/net/protocol/http/Connection.java
(sendRequest): Fix a small typo.
* java/awt/Container.java
(update): Clear only the clipped region, instead of clearing the
entire Container.
(visitChildren): Visit children in descending order.
|
| |
|
|
|
|
|
|
| |
* gnu/java/net/protocol/http/Connection.java
(connect): Dont initialize bufferedOutputStream.
(sendRequest): Handle case when bufferedOutputStream is null.
(getOutputStream): Throw exception if called after it got connected.
Initialize bufferedOutputStream.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/net/protocol/http/Connection.java
(outputStream): New field.
(bufferedOutputStream): New field.
(connect): Initialize outputStream and bufferedOutputStream.
(sendRequest): Create PrintWriter object from outputStream,
support HTTP 1.1, send missing HTTP headers and buffered output data
for POST method.
(getOutputStream): Set request method to POST if output stream is
used, return bufferedOutputStream.
(setRequestMethod): Allow HEAD and POST methods.
This fixes libgcj PR/6302 and libgcj PR/7752.
|
| |
|
|
|
|
|
|
|
|
| |
* gnu/java/net/HeaderFieldHelper.java
(getHeaderFieldValueByKey): New method.
(getHeaderFields): New method.
* gnu/java/net/protocol/http/Connection.java
(connect): Lowercase key before adding to HeaderFieldHelper object.
(getHeaderField): New method.
(getHeaderFields): New method.
|
| |
|
|
|
|
| |
* gnu/java/net/protocol/http/Connection.java
(getRequestProperty): Removed.
(setRequestProperty): Removed.
|
| |
|
|
|
|
|
|
| |
* gnu/java/net/protocol/http/Connection.java
(setRequestProperty): New method.
(getRequestProperty): New method.
(getHeaderField): Reformated.
(getHeaderFieldKey): Reformated.
|
| |
|
|
|
|
| |
(receiveReply): Add the null header containing the reply of the server.
(getHeaderField, getHeaderFieldKey): Check whether the connection has
already been established.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/net/protocol/http/Connection.java
(outputWriter): Removed.
(connect): Always initialize inputStream, don't initialize
outputWriter.
(sendRequest): Create PrintWriter object locally.
(receiveReply): Made private.
(getInputStream): Return inputStream confitionally.
(getOuputStream): Documentation added.
(setRequestMethod): Reordered.
(getHeaderField): Reordered.
(getHeaderFieldKey): Reordered.
|
| |
|
|
|
|
| |
* gnu/java/net/protocol/file/Handler.java:
(openConnection): Handle case when host part of file: URL is set.
* gnu/java/net/protocol/http/Connection.java: Reformated.
|
| |
|
|
|
|
|
| |
* gnu/java/net/protocol/http/Connection.java
(connect): Always create outputStream, its needed to send request to
remote server. Set connected to true after request was sent and reply
received.
|
| |
|
|
|
|
| |
* gnu/java/net/protocol/file/Connection.java,
gnu/java/net/protocol/http/Connection.java:
Some reformating.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/net/protocol/file/Connection.java
(inputStream): Made it a BufferedInputStream.
(outputStream): Made it a BufferedOutputStream.
(connect): Initialize inputStream and outputStream correctly.
* gnu/java/net/protocol/http/Connection.java
(proxyHost): New class variable.
(proxyPort): Likewise.
(proxyInUse): Likewise.
(static): New method to initialize proxy variables.
(connect): connect to proxy if proxy is used.
(sendRequest): Fixed handling of "Host" request property.
(usingProxy): Return true if proxy is used.
* gnu/java/net/protocol/jar/Connection.java
(Connection): Removed IOException from throws clause. Moved
initialization if jar_url to connect().
|
| |
|
|
|
| |
* gnu/java/net/protocol/http/Connection.java:
Reformated. Renamed some variables to match libgcj's version.
|
|
|
* gnu/java/net/protocol/file/FileURLConnection.java,
gnu/java/net/protocol/http/HttpURLConnection.java,
gnu/java/net/protocol/jar/JarURLConnection.java:
Removed.
* gnu/java/net/protocol/file/Connection.java,
gnu/java/net/protocol/http/Connection.java,
gnu/java/net/protocol/jar/Connection.java:
New files.
* gnu/java/net/protocol/jar/Handler.java,
gnu/java/net/protocol/http/Handler.java,
gnu/java/net/protocol/file/Handler.java,
gnu/java/lang/SystemClassLoader.java:
Use new files.
|