|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.web.connector.grizzly.algorithms.StreamAlgorithmBase
com.sun.xml.ws.transport.tcp.grizzly.WSTCPStreamAlgorithm
public final class WSTCPStreamAlgorithm
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.enterprise.web.connector.grizzly.algorithms.StreamAlgorithmBase |
|---|
StreamAlgorithmBase.DummyHandler |
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.web.connector.grizzly.algorithms.StreamAlgorithmBase |
|---|
contentLength, curLimit, curPosition, embeddedInGlassFish, handler, headerLength, lastStatePosition, primaryByteBuffer, socketChannel, state, useByteBufferView, useDirectByteBuffer |
| Constructor Summary | |
|---|---|
WSTCPStreamAlgorithm()
|
|
| Method Summary | |
|---|---|
java.nio.ByteBuffer |
getByteBuffer()
|
Handler |
getHandler()
|
java.nio.channels.SocketChannel |
getSocketChannel()
|
boolean |
parse(java.nio.ByteBuffer byteBuffer)
|
void |
recycle()
|
void |
setPort(int port)
Algorith is usually created with Class.newInstance -> its port is not set before, but port value is required in handler's constructor |
| Methods inherited from class com.sun.enterprise.web.connector.grizzly.algorithms.StreamAlgorithmBase |
|---|
allocate, contentLength, dump, getPort, getReadTask, headerLength, postParse, preParse, rollbackParseState, setSocketChannel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WSTCPStreamAlgorithm()
| Method Detail |
|---|
public Handler getHandler()
public boolean parse(java.nio.ByteBuffer byteBuffer)
parse in interface StreamAlgorithmparse in class StreamAlgorithmBasepublic java.nio.channels.SocketChannel getSocketChannel()
public java.nio.ByteBuffer getByteBuffer()
public void setPort(int port)
setPort in interface StreamAlgorithmsetPort in class StreamAlgorithmBasepublic void recycle()
recycle in interface StreamAlgorithmrecycle in class StreamAlgorithmBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||