Skip to content

Most visited

Recently visited


RouteInfo.LayerType | Android Developers

to top
Android APIs
public static final enum


extends Enum<E extends Enum<E>>
   ↳ 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.


Enum Values
RouteInfo.LayerType  LAYERED   
RouteInfo.LayerType  PLAIN   
Public Methods
static RouteInfo.LayerType valueOf(String name)
final static LayerType[] values()
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.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

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.