public interface AttachmentWebservice extends Webservice
Webservice
which is used to provide a file as an attachment. It isAttachment()
returns true
, the response-header 'Content-Disposition' is being set. Otherwise the client will try to open
the file inline.Modifier and Type | Method and Description |
---|---|
String |
getFileName()
Returns the name of the file to open
|
boolean |
isAttachment()
Tells the client whether to treat the file as an attachment
|
getContentType, getHeaders, getStatus, processRequest
String getFileName()
boolean isAttachment()
true
if the file should be treated as an attachmentCopyright © 2011–2023 aiticon GmbH. All rights reserved.