|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jetty.io.nio.ChannelEndPoint org.eclipse.jetty.io.nio.SelectChannelEndPoint org.eclipse.jetty.http.ssl.SslSelectChannelEndPoint
public class SslSelectChannelEndPoint
SslSelectChannelEndPoint
A SelectChannelEndPoint that uses an SSLEngine
to handle an
SSL connection.
There is a named logger "org.eclipse.jetty.http.ssl"
Field Summary |
---|
Fields inherited from class org.eclipse.jetty.io.nio.ChannelEndPoint |
---|
_channel, _gather2, _local, _remote, _socket |
Constructor Summary | |
---|---|
SslSelectChannelEndPoint(Buffers buffers,
SocketChannel channel,
SelectorManager.SelectSet selectSet,
SelectionKey key,
SSLEngine engine)
|
Method Summary | |
---|---|
void |
close()
Close any backing stream associated with the buffer |
protected void |
doIdleExpired()
|
void |
dump()
|
int |
fill(Buffer buffer)
Fill the buffer from the current putIndex to it's capacity from whatever byte source is backing the buffer. |
void |
flush()
Flush any buffered output. |
int |
flush(Buffer buffer)
Flush the buffer from the current getIndex to it's putIndex using whatever byte sink is backing the buffer. |
int |
flush(Buffer header,
Buffer buffer,
Buffer trailer)
Flush the buffer from the current getIndex to it's putIndex using whatever byte sink is backing the buffer. |
SSLEngine |
getSSLEngine()
|
protected void |
idleExpired()
|
boolean |
isBufferingInput()
|
boolean |
isBufferingOutput()
|
boolean |
isBufferred()
|
String |
toString()
|
Methods inherited from class org.eclipse.jetty.io.nio.SelectChannelEndPoint |
---|
blockReadable, blockWritable, cancelIdle, dispatch, getConnection, getSelectManager, getSelectSet, getTimeoutTask, isReadyForDispatch, run, schedule, scheduleIdle, scheduleWrite, setWritable |
Methods inherited from class org.eclipse.jetty.io.nio.ChannelEndPoint |
---|
getChannel, getLocalAddr, getLocalHost, getLocalPort, getRemoteAddr, getRemoteHost, getRemotePort, getTransport, isBlocking, isOpen |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.jetty.io.EndPoint |
---|
getLocalAddr, getLocalHost, getLocalPort, getRemoteAddr, getRemoteHost, getRemotePort, getTransport, isBlocking, isOpen |
Constructor Detail |
---|
public SslSelectChannelEndPoint(Buffers buffers, SocketChannel channel, SelectorManager.SelectSet selectSet, SelectionKey key, SSLEngine engine) throws IOException
IOException
Method Detail |
---|
public void dump()
protected void idleExpired()
idleExpired
in class SelectChannelEndPoint
protected void doIdleExpired()
public void close() throws IOException
EndPoint
close
in interface EndPoint
close
in class SelectChannelEndPoint
IOException
public int fill(Buffer buffer) throws IOException
EndPoint
fill
in interface EndPoint
fill
in class ChannelEndPoint
int
value indicating the number of bytes
filled or -1 if EOF is reached.
IOException
public int flush(Buffer buffer) throws IOException
EndPoint
flush
in interface EndPoint
flush
in class SelectChannelEndPoint
buffer
- The buffer to flush. This buffers getIndex is updated.
IOException
public int flush(Buffer header, Buffer buffer, Buffer trailer) throws IOException
EndPoint
flush
in interface EndPoint
flush
in class SelectChannelEndPoint
header
- A buffer to write before flushing this buffer. This buffers getIndex is updated.buffer
- The buffer to flush. This buffers getIndex is updated.trailer
- A buffer to write after flushing this buffer. This buffers getIndex is updated.
IOException
public void flush() throws IOException
EndPoint
flush
in interface EndPoint
flush
in class ChannelEndPoint
IOException
public boolean isBufferingInput()
isBufferingInput
in interface EndPoint
isBufferingInput
in class ChannelEndPoint
public boolean isBufferingOutput()
isBufferingOutput
in interface EndPoint
isBufferingOutput
in class ChannelEndPoint
public boolean isBufferred()
isBufferred
in interface EndPoint
isBufferred
in class ChannelEndPoint
public SSLEngine getSSLEngine()
public String toString()
toString
in class SelectChannelEndPoint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |