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

com.enonic.xp.status.StatusReporter Maven / Gradle / Ivy

There is a newer version: 7.14.4
Show newest version
package com.enonic.xp.status;

import java.io.IOException;
import java.io.OutputStream;

import com.google.common.net.MediaType;

public interface StatusReporter
{
    String getName();

    MediaType getMediaType();

    void report( OutputStream stream )
        throws IOException;

    default void report( StatusContext context )
        throws IOException
    {
        this.report( context.getOutputStream() );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy