src/main/java/com/authlete/jaxrs/ResponseUtil.java
public static Response internalServerError(String entity, MediaType mediaType)
    {
        return builder(Status.INTERNAL_SERVER_ERROR, entity, mediaType).build();
    }
public static Response internalServerError(String entity, MediaType mediaType)
    {
        return builder(Status.INTERNAL_SERVER_ERROR, entity, mediaType).build();
    }
Create a response of {@code "500 Internal Server Error"}
with the given entity.