Class SlingPart

java.lang.Object
org.apache.sling.engine.impl.parameters.SlingPart
All Implemented Interfaces:
javax.servlet.http.Part

public class SlingPart extends Object implements javax.servlet.http.Part
  • Constructor Details

  • Method Details

    • getInputStream

      public InputStream getInputStream() throws IOException
      Specified by:
      getInputStream in interface javax.servlet.http.Part
      Throws:
      IOException
    • getContentType

      public String getContentType()
      Specified by:
      getContentType in interface javax.servlet.http.Part
    • getName

      public String getName()
      Specified by:
      getName in interface javax.servlet.http.Part
    • getSize

      public long getSize()
      Specified by:
      getSize in interface javax.servlet.http.Part
    • write

      public void write(String fileName) throws IOException
      Specified by:
      write in interface javax.servlet.http.Part
      Throws:
      IOException
    • delete

      public void delete()
      Specified by:
      delete in interface javax.servlet.http.Part
    • getHeader

      public String getHeader(String name)
      Specified by:
      getHeader in interface javax.servlet.http.Part
    • getHeaders

      public Collection<String> getHeaders(String name)
      Specified by:
      getHeaders in interface javax.servlet.http.Part
    • getHeaderNames

      public Collection<String> getHeaderNames()
      Specified by:
      getHeaderNames in interface javax.servlet.http.Part
    • getSubmittedFileName

      public String getSubmittedFileName()
      Specified by:
      getSubmittedFileName in interface javax.servlet.http.Part