• BlackBerry Dynamics
  • Runtime library for Android applications
  • 12.0.1.79
ClientPNames Interface Reference

Parameter names for the HttpClient module. More...

Inheritance diagram for ClientPNames:
AllClientPNames

Description

This does not include parameters for informational units HttpAuth, HttpCookie, or HttpConn.

Version
Revision
659595
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 CONNECTION_MANAGER_FACTORY_CLASS_NAME = "http.connection-manager.factory-class-name"
 Defines the class name of the default com.good.gd.apache.http.conn.ClientConnectionManager. More...
 
static final String CONNECTION_MANAGER_FACTORY = "http.connection-manager.factory-object"
 Defines the factory to create a default com.good.gd.apache.http.conn.ClientConnectionManager. More...
 
static final String HANDLE_REDIRECTS = "http.protocol.handle-redirects"
 Defines whether redirects should be handled automatically. More...
 
static final String REJECT_RELATIVE_REDIRECT = "http.protocol.reject-relative-redirect"
 Defines whether relative redirects should be rejected. More...
 
static final String MAX_REDIRECTS = "http.protocol.max-redirects"
 Defines the maximum number of redirects to be followed. More...
 
static final String ALLOW_CIRCULAR_REDIRECTS = "http.protocol.allow-circular-redirects"
 Defines whether circular redirects (redirects to the same location) should be allowed. More...
 
static final String HANDLE_AUTHENTICATION = "http.protocol.handle-authentication"
 Defines whether authentication should be handled automatically. More...
 
static final String COOKIE_POLICY = "http.protocol.cookie-policy"
 Defines the name of the cookie specification to be used for HTTP state management. More...
 
static final String VIRTUAL_HOST = "http.virtual-host"
 Defines the virtual host name. More...
 
static final String DEFAULT_HEADERS = "http.default-headers"
 Defines the request headers to be sent per default with each request. More...
 
static final String DEFAULT_HOST = "http.default-host"
 Defines the default host. More...
 

Member Data Documentation

◆ CONNECTION_MANAGER_FACTORY_CLASS_NAME

final String CONNECTION_MANAGER_FACTORY_CLASS_NAME = "http.connection-manager.factory-class-name"
static

This parameter expects a value of type String.

◆ CONNECTION_MANAGER_FACTORY

final String CONNECTION_MANAGER_FACTORY = "http.connection-manager.factory-object"
static

This parameters expects a value of type com.good.gd.apache.http.conn.ClientConnectionManagerFactory.

◆ HANDLE_REDIRECTS

final String HANDLE_REDIRECTS = "http.protocol.handle-redirects"
static

This parameter expects a value of type Boolean.

◆ REJECT_RELATIVE_REDIRECT

final String REJECT_RELATIVE_REDIRECT = "http.protocol.reject-relative-redirect"
static

This parameter expects a value of type Boolean.

◆ MAX_REDIRECTS

final String MAX_REDIRECTS = "http.protocol.max-redirects"
static

The limit on number of redirects is intended to prevent infinite loops.

This parameter expects a value of type Integer.

◆ ALLOW_CIRCULAR_REDIRECTS

final String ALLOW_CIRCULAR_REDIRECTS = "http.protocol.allow-circular-redirects"
static

The HTTP spec is not sufficiently clear whether circular redirects are permitted, therefore optionally they can be enabled

This parameter expects a value of type Boolean.

◆ HANDLE_AUTHENTICATION

final String HANDLE_AUTHENTICATION = "http.protocol.handle-authentication"
static

This parameter expects a value of type Boolean.

◆ COOKIE_POLICY

final String COOKIE_POLICY = "http.protocol.cookie-policy"
static

This parameter expects a value of type String.

◆ VIRTUAL_HOST

final String VIRTUAL_HOST = "http.virtual-host"
static

This parameter expects a value of type com.good.gd.apache.http.HttpHost.

◆ DEFAULT_HEADERS

final String DEFAULT_HEADERS = "http.default-headers"
static

This parameter expects a value of type java.util.Collection. The collection is expected to contain com.good.gd.apache.http.Header.

◆ DEFAULT_HOST

final String DEFAULT_HOST = "http.default-host"
static

The default value will be used if the target host is not explicitly specified in the request URI.

This parameter expects a value of type com.good.gd.apache.http.HttpHost.