|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchemeIOSessionStrategy
I/O session layering strategy for complex protocol schemes, which employ a transport level security protocol to secure HTTP communication (in other words those schemes 'layer' HTTP on top of a transport level protocol such as TLS/SSL).
Method Summary | |
---|---|
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. |
Method Detail |
---|
boolean isLayeringRequired()
false
the upgrade
method is expected
to have no effect and should not be called.
org.apache.http.nio.reactor.IOSession upgrade(org.apache.http.HttpHost host, org.apache.http.nio.reactor.IOSession ioSession) throws IOException
IOSession
with a transport level security
protocol implementation.
host
- the target host.ioSession
- the I/O session.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |