Class FileAttachmentRequest


  • public class FileAttachmentRequest
    extends com.github.davidmoten.odata.client.EntityRequest<FileAttachment>
    • Field Summary

      • Fields inherited from class com.github.davidmoten.odata.client.EntityRequest

        contextPath
    • Constructor Detail

      • FileAttachmentRequest

        public FileAttachmentRequest​(com.github.davidmoten.odata.client.ContextPath contextPath,
                                     Optional<Object> value)
    • Method Detail

      • getStreamCurrentPath

        public Optional<com.github.davidmoten.odata.client.StreamProvider> getStreamCurrentPath()
        If returning a stream without using object metadata is not supported then * returns Optional.empty(). Otherwise, returns a stream provider where the location of the stream is assumed to be the current path + /$value.
        Returns:
        StreamProvider if suitable metadata found otherwise returns Optional.empty()