Package org.apache.sling.servlethelpers
Class ByteArrayPart.Builder
- java.lang.Object
-
- org.apache.sling.servlethelpers.ByteArrayPart.Builder
-
- Enclosing class:
- ByteArrayPart
public static class ByteArrayPart.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteArrayPart
build()
ByteArrayPart.Builder
withContent(byte[] content)
ByteArrayPart.Builder
withName(String name)
-
-
-
Method Detail
-
withContent
public ByteArrayPart.Builder withContent(byte[] content)
-
withName
public ByteArrayPart.Builder withName(String name)
-
build
public ByteArrayPart build()
-
-