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(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(HttpHost host, org.apache.http.nio.reactor.IOSession iosession)
SchemeIOSessionStrategy
IOSession
with a transport level security
protocol implementation.upgrade
in interface SchemeIOSessionStrategy
host
- the target host.iosession
- the I/O session.public boolean isLayeringRequired()
SchemeIOSessionStrategy
false
the upgrade
method is expected
to have no effect and should not be called.isLayeringRequired
in interface SchemeIOSessionStrategy
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.