org.mortbay.jetty.security
public class SslHttpChannelEndPoint extends org.mortbay.jetty.nio.SelectChannelConnector.ConnectorEndPoint implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
protected javax.net.ssl.SSLSession |
_session |
| Constructor and Description |
|---|
SslHttpChannelEndPoint(org.mortbay.io.Buffers buffers,
java.nio.channels.SocketChannel channel,
org.mortbay.io.nio.SelectorManager.SelectSet selectSet,
java.nio.channels.SelectionKey key,
javax.net.ssl.SSLEngine engine) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
doIdleExpired() |
void |
dump() |
int |
fill(org.mortbay.io.Buffer buffer) |
void |
flush() |
int |
flush(org.mortbay.io.Buffer buffer) |
int |
flush(org.mortbay.io.Buffer header,
org.mortbay.io.Buffer buffer,
org.mortbay.io.Buffer trailer) |
javax.net.ssl.SSLEngine |
getSSLEngine() |
protected void |
idleExpired() |
boolean |
isAllowRenegotiate() |
boolean |
isBufferingInput() |
boolean |
isBufferingOutput() |
boolean |
isBufferred() |
void |
setAllowRenegotiate(boolean allowRenegotiate)
Set if SSL re-negotiation is allowed.
|
void |
shutdownOutput() |
java.lang.String |
toString() |
undispatchblockReadable, blockWritable, cancelIdle, dispatch, getConnection, getSelectSet, getTimeoutTask, run, scheduleIdle, scheduleWrite, setWritablegetChannel, getLocalAddr, getLocalHost, getLocalPort, getRemoteAddr, getRemoteHost, getRemotePort, getTransport, isBlocking, isOpenpublic SslHttpChannelEndPoint(org.mortbay.io.Buffers buffers,
java.nio.channels.SocketChannel channel,
org.mortbay.io.nio.SelectorManager.SelectSet selectSet,
java.nio.channels.SelectionKey key,
javax.net.ssl.SSLEngine engine)
throws javax.net.ssl.SSLException,
java.io.IOException
javax.net.ssl.SSLExceptionjava.io.IOExceptionpublic boolean isAllowRenegotiate()
public void setAllowRenegotiate(boolean allowRenegotiate)
allowRenegotiate - true if re-negotiation is allowed (default false)public void dump()
protected void idleExpired()
idleExpired in class org.mortbay.io.nio.SelectChannelEndPointprotected void doIdleExpired()
public void shutdownOutput()
throws java.io.IOException
shutdownOutput in interface org.mortbay.io.EndPointshutdownOutput in class org.mortbay.io.nio.ChannelEndPointjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface org.mortbay.io.EndPointclose in class org.mortbay.jetty.nio.SelectChannelConnector.ConnectorEndPointjava.io.IOExceptionpublic int fill(org.mortbay.io.Buffer buffer)
throws java.io.IOException
fill in interface org.mortbay.io.EndPointfill in class org.mortbay.io.nio.ChannelEndPointjava.io.IOExceptionpublic int flush(org.mortbay.io.Buffer buffer)
throws java.io.IOException
flush in interface org.mortbay.io.EndPointflush in class org.mortbay.io.nio.SelectChannelEndPointjava.io.IOExceptionpublic int flush(org.mortbay.io.Buffer header,
org.mortbay.io.Buffer buffer,
org.mortbay.io.Buffer trailer)
throws java.io.IOException
flush in interface org.mortbay.io.EndPointflush in class org.mortbay.io.nio.SelectChannelEndPointjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface org.mortbay.io.EndPointflush in class org.mortbay.io.nio.ChannelEndPointjava.io.IOExceptionpublic boolean isBufferingInput()
isBufferingInput in interface org.mortbay.io.EndPointisBufferingInput in class org.mortbay.io.nio.ChannelEndPointpublic boolean isBufferingOutput()
isBufferingOutput in interface org.mortbay.io.EndPointisBufferingOutput in class org.mortbay.io.nio.ChannelEndPointpublic boolean isBufferred()
isBufferred in interface org.mortbay.io.EndPointisBufferred in class org.mortbay.io.nio.ChannelEndPointpublic javax.net.ssl.SSLEngine getSSLEngine()
public java.lang.String toString()
toString in class org.mortbay.io.nio.SelectChannelEndPointCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.