Skip to content

Binary render type with byte array #407

@ucin

Description

@ucin

It would be good if Pippo can render binary type using byte[]. I'm intend to use for rendering Protobuf. Currently is impossible because ContentTypeEngine.toString(Object object) only allow String type.

public interface ContentTypeEngine {

    void init(Application application);

    String getContentType();

    String toString(Object object);

    <T> T fromString(String content, Class<T> classOfT);

}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions