Return-Path: X-Original-To: apmail-hc-commits-archive@www.apache.org Delivered-To: apmail-hc-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B2551179B3 for ; Tue, 4 Nov 2014 20:06:20 +0000 (UTC) Received: (qmail 30815 invoked by uid 500); 4 Nov 2014 20:06:20 -0000 Delivered-To: apmail-hc-commits-archive@hc.apache.org Received: (qmail 30778 invoked by uid 500); 4 Nov 2014 20:06:20 -0000 Mailing-List: contact commits-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list commits@hc.apache.org Received: (qmail 30769 invoked by uid 99); 4 Nov 2014 20:06:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2014 20:06:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2014 20:05:56 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id CE10823888A6 for ; Tue, 4 Nov 2014 20:04:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1636721 - /httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ Date: Tue, 04 Nov 2014 20:04:24 -0000 To: commits@hc.apache.org From: olegk@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20141104200424.CE10823888A6@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: olegk Date: Tue Nov 4 20:04:23 2014 New Revision: 1636721 URL: http://svn.apache.org/r1636721 Log: Removed RFC 2616 specific javadoc Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/Header.java httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HeaderElement.java httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpMessage.java httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpRequest.java httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpResponse.java httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpVersion.java httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/NameValuePair.java httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ProtocolException.java httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/RequestLine.java httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/StatusLine.java Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/Header.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/Header.java?rev=1636721&r1=1636720&r2=1636721&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/Header.java (original) +++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/Header.java Tue Nov 4 20:04:23 2014 @@ -28,22 +28,7 @@ package org.apache.http; /** - * Represents an HTTP header field. - * - *

The HTTP header fields follow the same generic format as - * that given in Section 3.1 of RFC 822. Each header field consists - * of a name followed by a colon (":") and the field value. Field names - * are case-insensitive. The field value MAY be preceded by any amount - * of LWS, though a single SP is preferred. - * - *

- *     message-header = field-name ":" [ field-value ]
- *     field-name     = token
- *     field-value    = *( field-content | LWS )
- *     field-content  = <the OCTETs making up the field-value
- *                      and consisting of either *TEXT or combinations
- *                      of token, separators, and quoted-string>
- *
+ * Represents an HTTP header field consisting of a field name and a field value.. * * @since 4.0 */ Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HeaderElement.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HeaderElement.java?rev=1636721&r1=1636720&r2=1636721&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HeaderElement.java (original) +++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HeaderElement.java Tue Nov 4 20:04:23 2014 @@ -28,32 +28,8 @@ package org.apache.http; /** - * One element of an HTTP {@link Header header} value consisting of + * Represents an element of an HTTP {@link Header header} value consisting of * a name / value pair and a number of optional name / value parameters. - *

- * Some HTTP headers (such as the set-cookie header) have values that - * can be decomposed into multiple elements. Such headers must be in the - * following form: - *

- *
- * header  = [ element ] *( "," [ element ] )
- * element = name [ "=" [ value ] ] *( ";" [ param ] )
- * param   = name [ "=" [ value ] ]
- *
- * name    = token
- * value   = ( token | quoted-string )
- *
- * token         = 1*<any char except "=", ",", ";", <"> and
- *                       white space>
- * quoted-string = <"> *( text | quoted-char ) <">
- * text          = any char except <">
- * quoted-char   = "\" char
- * 
- *

- * Any amount of white space is allowed between any part of the - * header, element or param and is ignored. A missing value in any - * element or param will be stored as the empty {@link String}; - * if the "=" is also missing null will be stored instead. * * @since 4.0 */ Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpMessage.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpMessage.java?rev=1636721&r1=1636720&r2=1636721&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpMessage.java (original) +++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpMessage.java Tue Nov 4 20:04:23 2014 @@ -32,24 +32,6 @@ import java.util.Iterator; /** * HTTP messages consist of requests from client to server and responses * from server to client. - *

- *     HTTP-message   = Request | Response     ; HTTP/1.1 messages
- * 
- *

- * HTTP messages use the generic message format of RFC 822 for - * transferring entities (the payload of the message). Both types - * of message consist of a start-line, zero or more header fields - * (also known as "headers"), an empty line (i.e., a line with nothing - * preceding the CRLF) indicating the end of the header fields, - * and possibly a message-body. - *

- *
- *      generic-message = start-line
- *                        *(message-header CRLF)
- *                        CRLF
- *                        [ message-body ]
- *      start-line      = Request-Line | Status-Line
- * 
* * @since 4.0 */ Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpRequest.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpRequest.java?rev=1636721&r1=1636720&r2=1636721&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpRequest.java (original) +++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpRequest.java Tue Nov 4 20:04:23 2014 @@ -31,14 +31,6 @@ package org.apache.http; * A request message from a client to a server includes, within the * first line of that message, the method to be applied to the resource, * the identifier of the resource, and the protocol version in use. - *
- *      Request       = Request-Line
- *                      *(( general-header
- *                       | request-header
- *                       | entity-header ) CRLF)
- *                      CRLF
- *                      [ message-body ]
- * 
* * @since 4.0 */ Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpResponse.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpResponse.java?rev=1636721&r1=1636720&r2=1636721&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpResponse.java (original) +++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpResponse.java Tue Nov 4 20:04:23 2014 @@ -32,14 +32,6 @@ import java.util.Locale; /** * After receiving and interpreting a request message, a server responds * with an HTTP response message. - *
- *     Response      = Status-Line
- *                     *(( general-header
- *                      | response-header
- *                      | entity-header ) CRLF)
- *                     CRLF
- *                     [ message-body ]
- * 
* * @since 4.0 */ Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpVersion.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpVersion.java?rev=1636721&r1=1636720&r2=1636721&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpVersion.java (original) +++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/HttpVersion.java Tue Nov 4 20:04:23 2014 @@ -38,9 +38,6 @@ import org.apache.http.annotation.Immuta * The version of an HTTP message is indicated by an HTTP-Version field * in the first line of the message. *

- *
- *     HTTP-Version   = "HTTP" "/" 1*DIGIT "." 1*DIGIT
- * 
* * @since 4.0 */ Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/NameValuePair.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/NameValuePair.java?rev=1636721&r1=1636720&r2=1636721&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/NameValuePair.java (original) +++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/NameValuePair.java Tue Nov 4 20:04:23 2014 @@ -29,12 +29,6 @@ package org.apache.http; /** * A name / value pair parameter used as an element of HTTP messages. - *
- * parameter               = attribute "=" value
- * attribute               = token
- * value                   = token | quoted-string
- * 
- * * * @since 4.0 */ Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ProtocolException.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ProtocolException.java?rev=1636721&r1=1636720&r2=1636721&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ProtocolException.java (original) +++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/ProtocolException.java Tue Nov 4 20:04:23 2014 @@ -31,7 +31,6 @@ package org.apache.http; * Signals that an HTTP protocol violation has occurred. * For example a malformed status line or headers, a missing message body, etc. * - * * @since 4.0 */ public class ProtocolException extends HttpException { Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/RequestLine.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/RequestLine.java?rev=1636721&r1=1636720&r2=1636721&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/RequestLine.java (original) +++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/RequestLine.java Tue Nov 4 20:04:23 2014 @@ -29,12 +29,7 @@ package org.apache.http; /** * The Request-Line begins with a method token, followed by the - * Request-URI and the protocol version, and ending with CRLF. The - * elements are separated by SP characters. No CR or LF is allowed - * except in the final CRLF sequence. - *
- *      Request-Line   = Method SP Request-URI SP HTTP-Version CRLF
- * 
+ * Request-URI and the protocol version. * * @since 4.0 */ Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/StatusLine.java URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/StatusLine.java?rev=1636721&r1=1636720&r2=1636721&view=diff ============================================================================== --- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/StatusLine.java (original) +++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/StatusLine.java Tue Nov 4 20:04:23 2014 @@ -30,11 +30,7 @@ package org.apache.http; /** * The first line of a Response message is the Status-Line, consisting * of the protocol version followed by a numeric status code and its - * associated textual phrase, with each element separated by SP - * characters. No CR or LF is allowed except in the final CRLF sequence. - *
- *     Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF
- * 
+ * associated textual phrase. * * @see HttpStatus * @version $Id$