corda / net.corda.core.node.services / FileUploader / accepts

accepts

abstract fun accepts(type: String): Boolean

Check if this service accepts this type of upload. For example if you are uploading interest rates this could be "my-service-interest-rates". Type here does not refer to file extentions or MIME types.