Package jp.cssj.cti2.helpers.jakarta
Class ServletResponseResults
java.lang.Object
jp.cssj.cti2.helpers.jakarta.ServletResponseResults
- All Implemented Interfaces:
Results
Sends the built data as a servlet response.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidend()Completes the sequence of data outputs.protected voidfinish()booleanhasNext()Returns true if the next result can be output.net.zamasoft.zstream.io.FragmentedOutputnextBuilder(net.zamasoft.zstream.resolver.SourceMetadata metaSource) Returns a builder for constructing the next processing result.
-
Field Details
-
response
protected final jakarta.servlet.ServletResponse response -
builder
protected net.zamasoft.zstream.io.util.OutputMeasurer builder
-
-
Constructor Details
-
ServletResponseResults
public ServletResponseResults(jakarta.servlet.ServletResponse response)
-
-
Method Details
-
hasNext
public boolean hasNext()Description copied from interface:ResultsReturns true if the next result can be output. -
nextBuilder
public net.zamasoft.zstream.io.FragmentedOutput nextBuilder(net.zamasoft.zstream.resolver.SourceMetadata metaSource) throws IOException Description copied from interface:ResultsReturns a builder for constructing the next processing result.- Specified by:
nextBuilderin interfaceResults- Returns:
- The data builder object.
- Throws:
IOException
-
finish
protected void finish() -
end
public void end()Description copied from interface:ResultsCompletes the sequence of data outputs.For a normal conversion, this is called once after all result builders are closed. For continuous conversion, it is not called for individual
transcodecalls, but is called once at the finaljoin.
-