• BlackBerry Dynamics
  • Runtime library for Android applications
  • 12.0.1.79
HTTP Class Reference

Constants and static helpers related to the HTTP protocol. More...

Description

Author
Oleg Kalnichevski
Version
Revision
555989
Since
4.0

Notice

The following notice applies to the original API on which this API is based, and to its documentation. The documentation of this API has been revised from the original.

/*
 * Copyright (C) 2006 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

Static Public Attributes

static final String TRANSFER_ENCODING = "Transfer-Encoding"
 HTTP header definitions.
 
static final String EXPECT_CONTINUE = "100-continue"
 HTTP expectations.
 
static final String CONN_CLOSE = "Close"
 HTTP connection control.
 
static final String CHUNK_CODING = "chunked"
 Transfer encoding definitions.
 
static final String UTF_8 = "UTF-8"
 Common charset definitions.
 
static final String DEFAULT_CONTENT_CHARSET = ISO_8859_1
 Default charsets.
 
static final String OCTET_STREAM_TYPE = "application/octet-stream"
 Content type definitions.
 
static final String DEFAULT_CONTENT_TYPE = OCTET_STREAM_TYPE
 Default content type.