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();
    }
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.
Create a response of {