|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ScriptConduit
This interface hides the decoration taking place on different poll types.
| Method Summary | |
|---|---|
void |
beginChunk()
Called before a each set of scripts that are to be sent. |
void |
beginStreamAndChunk()
Called when we are initially setting up the stream. |
void |
endChunk()
Called after each set of scripts when they have been sent. |
void |
endStreamAndChunk()
Called when we are shutting the stream down. |
java.lang.String |
getOutboundMimeType()
What mime type should we send to the browser for this data? |
void |
sendScript(java.lang.String script)
Write a script to remote side. |
| Method Detail |
|---|
java.lang.String getOutboundMimeType()
void beginStreamAndChunk()
throws java.io.IOException
This method is always called exactly once in the lifetime of a conduit.
java.io.IOException
void beginChunk()
throws java.io.IOException
java.io.IOException
void sendScript(java.lang.String script)
throws java.io.IOException
script - The script to write
java.io.IOException
void endChunk()
throws java.io.IOException
java.io.IOException
void endStreamAndChunk()
throws java.io.IOException
java.io.IOException
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||