io.bdeploy.jersey.errorpages.JerseyGrizzlyErrorPageGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
Public API including dependencies, ready to be used for integrations and plugins.
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