Android
org.apache.http.conn.routing
public static final enum

org.apache.http.conn.routing.RouteInfo.LayerType

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

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()
Methods inherited from class java.lang.Enum
Methods inherited from class java.lang.Object
Methods inherited from interface java.lang.Comparable

Details

Enum Values

public static final RouteInfo.LayerType LAYERED

public static final RouteInfo.LayerType PLAIN

Public Methods

public static RouteInfo.LayerType valueOf(String name)

public static final LayerType[] values()

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56