com.atlassian.stash.io.TypeAwareOutputSupplier |
Class Overview
OutputSupplier-style interface.
Summary
Public Methods |
OutputStream
|
getStream(String contentType)
Returns an OutputStream, given the supplied content-type.
|
Public Methods
public
OutputStream
getStream
(String contentType)
Returns an OutputStream, given the supplied content-type. This gives the implementation a chance to do something
specific with the content type, like setting a header in the response for instance.
Parameters
contentType
| a content-type to set - must always be provided. |