|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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,
java.nio.channels.SocketChannel channel,
SelectorManager.SelectSet selectSet,
java.nio.channels.SelectionKey key,
javax.net.ssl.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 with unencrypted bytes. |
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. |
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. |
java.lang.String |
toString()
|
| Methods inherited from class org.eclipse.jetty.io.nio.SelectChannelEndPoint |
|---|
blockReadable, blockWritable, cancelIdle, dispatch, getConnection, getSelectionKey, getSelectManager, getSelectSet, getTimeoutTask, isReadyForDispatch, run, schedule, scheduleIdle, scheduleWrite, setConnection, 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,
java.nio.channels.SocketChannel channel,
SelectorManager.SelectSet selectSet,
java.nio.channels.SelectionKey key,
javax.net.ssl.SSLEngine engine)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
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 SelectChannelEndPointprotected void doIdleExpired()
public void close()
throws java.io.IOException
EndPoint
close in interface EndPointclose in class SelectChannelEndPointjava.io.IOException
public int fill(Buffer buffer)
throws java.io.IOException
Parser instance when more data is
needed to continue parsing a request or a response.
fill in interface EndPointfill in class ChannelEndPointint value indicating the number of bytes
filled or -1 if EOF is reached.
java.io.IOException
public int flush(Buffer buffer)
throws java.io.IOException
EndPoint
flush in interface EndPointflush in class SelectChannelEndPointbuffer - The buffer to flush. This buffers getIndex is updated.
java.io.IOException
public int flush(Buffer header,
Buffer buffer,
Buffer trailer)
throws java.io.IOException
EndPoint
flush in interface EndPointflush in class SelectChannelEndPointheader - 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.
java.io.IOException
public void flush()
throws java.io.IOException
EndPoint
flush in interface EndPointflush in class ChannelEndPointjava.io.IOExceptionpublic boolean isBufferingInput()
isBufferingInput in interface EndPointisBufferingInput in class ChannelEndPointpublic boolean isBufferingOutput()
isBufferingOutput in interface EndPointisBufferingOutput in class ChannelEndPointpublic boolean isBufferred()
isBufferred in interface EndPointisBufferred in class ChannelEndPointpublic javax.net.ssl.SSLEngine getSSLEngine()
public java.lang.String toString()
toString in class SelectChannelEndPoint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||