Package akka.http.scaladsl.marshalling
Interface MultipartMarshallers
- All Known Subinterfaces:
PredefinedToEntityMarshallers
- All Known Implementing Classes:
Marshaller$
,MultipartMarshallers$
,PredefinedToEntityMarshallers$
public interface MultipartMarshallers
-
Method Summary
Modifier and TypeMethodDescriptionint
The length of randomly generated multipart boundaries (before base64 encoding).The random instance that is used to create multipart boundaries.<T extends Multipart>
Marshaller<T,RequestEntity> multipartMarshaller
(akka.event.LoggingAdapter log) The method used to create boundaries inmultipartMarshaller
.
-
Method Details
-
multipartMarshaller
<T extends Multipart> Marshaller<T,RequestEntity> multipartMarshaller(akka.event.LoggingAdapter log) -
multipartBoundaryRandom
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
String randomBoundary()The method used to create boundaries inmultipartMarshaller
. Can be overridden to create custom boundaries.- Returns:
- (undocumented)
-