Package org.jboss.as.controller.client
Interface OperationResponse.StreamEntry
- All Superinterfaces:
AutoCloseable,Closeable
- Enclosing interface:
- OperationResponse
An additional stream, besides the normal
response ModelNode that is
associated with the response.-
Method Details
-
getUUID
String getUUID()Gets the unique identifier for this stream. Meant to be unique within the context of the operation.- Returns:
- the id. Will not be
null
-
getMimeType
String getMimeType()Gets the MIME type of the stream- Returns:
- the mime type. Cannot be
null
-
getStream
InputStream getStream()Gets the underlying stream. -
close
Closes the underlying stream.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-