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)

Since: API Level 1

public static final LayerType[] values ()

Since: API Level 1