Skip to content

Most visited

Recently visited

navigation

RouteInfo.LayerType | Android Developers

to top
Android APIs
public static final enum

RouteInfo.LayerType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ org.apache.http.conn.routing.RouteInfo.LayerType

Class Overview

The layering type of a route. Plain routes are established by connecting or tunnelling. Layered routes are established by layering a protocol such as TLS/SSL over an existing connection. Protocols can only be layered over a tunnel to the target, or or over a direct connection without proxies.
Layering a protocol over a direct connection makes little sense, since the connection could be established with the new protocol in the first place. But we don't want to exclude that use case.

Summary

Enum Values
RouteInfo.LayerType  LAYERED   
RouteInfo.LayerType  PLAIN   
Public Methods
static RouteInfo.LayerType valueOf(String name)
final static LayerType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final RouteInfo.LayerType LAYERED

public static final RouteInfo.LayerType PLAIN

Public Methods

public static RouteInfo.LayerType valueOf (String name)

Added in API level 1

public static final LayerType[] values ()

Added in API level 1

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.