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

Added in API level 1

public static final RouteInfo.LayerType PLAIN

Added in API level 1

Public Methods

public static RouteInfo.LayerType valueOf (String name)

Added in API level 1

public static final LayerType[] values ()

Added in API level 1