com.atlassian.stash.io.TypeAwareOutputSupplier |
OutputSupplier-style interface.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an OutputStream, given the supplied content-type.
|
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.
contentType | a content-type to set - must always be provided. |
---|
IOException |
---|