public class NoopIOSessionStrategy extends Object implements SchemeIOSessionStrategy
| Modifier and Type | Field and Description |
|---|---|
static NoopIOSessionStrategy |
INSTANCE |
| Constructor and Description |
|---|
NoopIOSessionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLayeringRequired()
Determines whether or not protocol layering is required.
|
org.apache.http.nio.reactor.IOSession |
upgrade(org.apache.http.HttpHost host,
org.apache.http.nio.reactor.IOSession iosession)
Decorates the original
IOSession with a transport level security
protocol implementation. |
public static final NoopIOSessionStrategy INSTANCE
public org.apache.http.nio.reactor.IOSession upgrade(org.apache.http.HttpHost host,
org.apache.http.nio.reactor.IOSession iosession)
SchemeIOSessionStrategyIOSession with a transport level security
protocol implementation.upgrade in interface SchemeIOSessionStrategyhost - the target host.iosession - the I/O session.public boolean isLayeringRequired()
SchemeIOSessionStrategyfalse the upgrade method is expected
to have no effect and should not be called.isLayeringRequired in interface SchemeIOSessionStrategyCopyright © 2010–2016 The Apache Software Foundation. All rights reserved.