|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.proxy.SSLHandler
public class SSLHandler
A handler that shuttles ssl traffic
| Constructor Summary | |
|---|---|
SSLHandler(HttpProxy proxy,
Connection con,
HttpHeader request,
TrafficLoggerHandler tlh)
Create a new SSLHandler |
|
| Method Summary | |
|---|---|
void |
handle(java.nio.channels.SocketChannel channel,
BufferHandle bh)
handle the tunnel. |
boolean |
isAllowed()
Are we allowed to proxy ssl-type connections ? |
void |
tunnelClosed()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSLHandler(HttpProxy proxy,
Connection con,
HttpHeader request,
TrafficLoggerHandler tlh)
proxy - the HttpProxy this SSL connection is servingcon - the Connection to handlerequest - the CONNECT headertlh - the traffic statistics gatherer| Method Detail |
|---|
public boolean isAllowed()
public void handle(java.nio.channels.SocketChannel channel,
BufferHandle bh)
channel - the client channelbh - the buffer handle used, may contain data from client.public void tunnelClosed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||