Package akka.http.scaladsl.marshalling
Interface MultipartMarshallers
-
- All Known Subinterfaces:
PredefinedToEntityMarshallers
- All Known Implementing Classes:
Marshaller$
,MultipartMarshallers$
,PredefinedToEntityMarshallers$
public interface MultipartMarshallers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
multipartBoundaryLength()
The length of randomly generated multipart boundaries (before base64 encoding).java.util.Random
multipartBoundaryRandom()
The random instance that is used to create multipart boundaries.<T extends Multipart>
Marshaller<T,RequestEntity>multipartMarshaller(akka.event.LoggingAdapter log)
java.lang.String
randomBoundary()
The method used to create boundaries inmultipartMarshaller
.
-
-
-
Method Detail
-
multipartMarshaller
<T extends Multipart> Marshaller<T,RequestEntity> multipartMarshaller(akka.event.LoggingAdapter log)
-
multipartBoundaryRandom
java.util.Random multipartBoundaryRandom()
The random instance that is used to create multipart boundaries. This can be overridden (e.g. in tests) to choose how a boundary is created.- Returns:
- (undocumented)
-
multipartBoundaryLength
int multipartBoundaryLength()
The length of randomly generated multipart boundaries (before base64 encoding). Can be overridden to configure.- Returns:
- (undocumented)
-
randomBoundary
java.lang.String randomBoundary()
The method used to create boundaries inmultipartMarshaller
. Can be overridden to create custom boundaries.- Returns:
- (undocumented)
-
-