| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public InputStream | decode(InputStream
the input stream carrying the bytes. is)Implements jakarta. Decode the given bytes read from the input stream into an object of type T. |
| public void | destroy()
Overrides default jakarta. This method is called when the decoder is about to be removed from service in order that any resources the decoder used may be closed gracefully. |
| public void | init(EndpointConfig
the endpoint configuration object when being brought into service config)Overrides default jakarta. This method is called with the endpoint configuration object of the endpoint this decoder is intended for when it is about to be brought into service. |
| InputStreamDecoder | back to summary |
|---|---|
| public InputStreamDecoder() | |
| decode | back to summary |
|---|---|
| public InputStream decode(InputStream is) throws DecodeException, IOException Implements jakarta. Doc from jakarta. Decode the given bytes read from the input stream into an object of type T.
| |
| destroy | back to summary |
|---|---|
| public void destroy() Overrides default jakarta. Doc from jakarta. This method is called when the decoder is about to be removed from service in order that any resources the decoder used may be closed gracefully.
| |
| init | back to summary |
|---|---|
| public void init(EndpointConfig config) Overrides default jakarta. Doc from jakarta. This method is called with the endpoint configuration object of the endpoint this decoder is intended for when it is about to be brought into service.
| |