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

io.bdeploy.jersey.errorpages.JerseyGrizzlyErrorPageGenerator Maven / Gradle / Ivy

Go to download

Public API including dependencies, ready to be used for integrations and plugins.

There is a newer version: 7.3.6
Show newest version
package io.bdeploy.jersey.errorpages;

import org.glassfish.grizzly.http.server.ErrorPageGenerator;
import org.glassfish.grizzly.http.server.Request;

public class JerseyGrizzlyErrorPageGenerator implements ErrorPageGenerator {

    @Override
    public String generate(Request request, int status, String reasonPhrase, String description, Throwable exception) {
        return JerseyCustomErrorPages.getErrorHtml(status, reasonPhrase);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy