public class Chunk
extends java.lang.Object
This class provides a mechanism by which a PIPELINE terminal handler program can send multiple response chunks of data in response to a remote Web request. This mechanism is only supported over HTTP 1.1.
Constructor and Description |
---|
Chunk() |
Modifier and Type | Method and Description |
---|---|
void |
sendResponseChunk()
Sends the fragment of response data found in the DFHRESPONSE container as
an HTTP chunk.
|
public void sendResponseChunk() throws NotSupportedException, InvalidHandlerException, PipelineMismatchException, TransportException, CicsException, IncompatiblePipelineException
NotSupportedException
- The pipeline of not of the correct type.InvalidHandlerException
- The method is called from a non terminal handler.IncompatiblePipelineException
- An incompatible handler is configured in the pipeline.PipelineMismatchException
- The pipeline is not a provider pipeline.TransportException
- A transport problem has occurred.CicsException
- An unexpected exception has occurred.