Modifier and Type | Field and Description |
---|---|
protected SSLSession |
_session |
Constructor and Description |
---|
SslHttpChannelEndPoint(org.mortbay.io.Buffers buffers,
SocketChannel channel,
org.mortbay.io.nio.SelectorManager.SelectSet selectSet,
SelectionKey key,
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) |
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() |
String |
toString() |
undispatch
blockReadable, blockWritable, cancelIdle, dispatch, getConnection, getSelectSet, getTimeoutTask, run, scheduleIdle, scheduleWrite, setWritable
getChannel, getLocalAddr, getLocalHost, getLocalPort, getRemoteAddr, getRemoteHost, getRemotePort, getTransport, isBlocking, isOpen
protected SSLSession _session
public SslHttpChannelEndPoint(org.mortbay.io.Buffers buffers, SocketChannel channel, org.mortbay.io.nio.SelectorManager.SelectSet selectSet, SelectionKey key, SSLEngine engine) throws SSLException, IOException
SSLException
IOException
public 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.SelectChannelEndPoint
protected void doIdleExpired()
public void shutdownOutput() throws IOException
shutdownOutput
in interface org.mortbay.io.EndPoint
shutdownOutput
in class org.mortbay.io.nio.ChannelEndPoint
IOException
public void close() throws IOException
close
in interface org.mortbay.io.EndPoint
close
in class org.mortbay.jetty.nio.SelectChannelConnector.ConnectorEndPoint
IOException
public int fill(org.mortbay.io.Buffer buffer) throws IOException
fill
in interface org.mortbay.io.EndPoint
fill
in class org.mortbay.io.nio.ChannelEndPoint
IOException
public int flush(org.mortbay.io.Buffer buffer) throws IOException
flush
in interface org.mortbay.io.EndPoint
flush
in class org.mortbay.io.nio.SelectChannelEndPoint
IOException
public int flush(org.mortbay.io.Buffer header, org.mortbay.io.Buffer buffer, org.mortbay.io.Buffer trailer) throws IOException
flush
in interface org.mortbay.io.EndPoint
flush
in class org.mortbay.io.nio.SelectChannelEndPoint
IOException
public void flush() throws IOException
flush
in interface org.mortbay.io.EndPoint
flush
in class org.mortbay.io.nio.ChannelEndPoint
IOException
public boolean isBufferingInput()
isBufferingInput
in interface org.mortbay.io.EndPoint
isBufferingInput
in class org.mortbay.io.nio.ChannelEndPoint
public boolean isBufferingOutput()
isBufferingOutput
in interface org.mortbay.io.EndPoint
isBufferingOutput
in class org.mortbay.io.nio.ChannelEndPoint
public boolean isBufferred()
isBufferred
in interface org.mortbay.io.EndPoint
isBufferred
in class org.mortbay.io.nio.ChannelEndPoint
public SSLEngine getSSLEngine()
public String toString()
toString
in class org.mortbay.io.nio.SelectChannelEndPoint
Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.