Class Boundary


  • @Immutable
    @Loggable(1)
    public final class Boundary
    extends Object
    Boundary for content-type multipart/form-data. This is a copy of boundary created by Apache HttpComponents HttpClient 4.5.
    Since:
    1.0
    • Constructor Detail

      • Boundary

        public Boundary()
        Constructor with new random number generation.
      • Boundary

        public Boundary​(Random random)
        Ctor.
        Parameters:
        random - Random number generation.
    • Method Detail

      • value

        public String value()
        Generates random boundary with random size from 30 to 40.
        Returns:
        Boundary value.