All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.optionfactory.spring.upstream.faults.spooler.FaultBodiesFunctions Maven / Gradle / Ivy

There is a newer version: 19.10
Show newest version
package net.optionfactory.spring.upstream.faults.spooler;

import net.optionfactory.spring.upstream.contexts.ResponseContext.BodySource;
import net.optionfactory.spring.upstream.rendering.BodyRendering;

public class FaultBodiesFunctions {

    public String abbreviated(byte[] in, int maxSize) {
        return BodyRendering.abbreviated(BodySource.of(in), "✂️", maxSize);
    }

    public String abbreviated(BodySource in, int maxSize) {
        return BodyRendering.abbreviated(in, "✂️", maxSize);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy