Class RestInterfaceTemplate.RestByteArrayResource

java.lang.Object
org.springframework.core.io.AbstractResource
org.springframework.core.io.ByteArrayResource
com.gsitm.ustra.java.data.logging.interfaces.outbound.templates.RestInterfaceTemplate.RestByteArrayResource
All Implemented Interfaces:
org.springframework.core.io.InputStreamSource, org.springframework.core.io.Resource
Enclosing class:
RestInterfaceTemplate

public static class RestInterfaceTemplate.RestByteArrayResource extends org.springframework.core.io.ByteArrayResource
  • Constructor Summary

    Constructors
    Constructor
    Description
    RestByteArrayResource(byte[] byteArray)
     
    RestByteArrayResource(org.springframework.core.io.Resource resource)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.springframework.core.io.ByteArrayResource

    contentLength, equals, exists, getByteArray, getContentAsByteArray, getContentAsString, getDescription, getInputStream, hashCode

    Methods inherited from class org.springframework.core.io.AbstractResource

    createRelative, getFile, getFileForLastModifiedCheck, getURI, getURL, isFile, isOpen, isReadable, lastModified, readableChannel, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RestByteArrayResource

      public RestByteArrayResource(byte[] byteArray)
    • RestByteArrayResource

      public RestByteArrayResource(org.springframework.core.io.Resource resource) throws IOException
      Throws:
      IOException
  • Method Details

    • getFilename

      public String getFilename()
      Specified by:
      getFilename in interface org.springframework.core.io.Resource
      Overrides:
      getFilename in class org.springframework.core.io.AbstractResource