Class ErrorResponse

    • Constructor Detail

      • ErrorResponse

        public ErrorResponse()
    • Method Detail

      • exists

        public static javax.ws.rs.core.Response exists​(String message)
      • error

        public static javax.ws.rs.core.Response error​(String message,
                                                      javax.ws.rs.core.Response.Status status)
      • error

        public static javax.ws.rs.core.Response error​(String message,
                                                      Object[] params,
                                                      javax.ws.rs.core.Response.Status status)
      • errors

        public static javax.ws.rs.core.Response errors​(List<ErrorRepresentation> s,
                                                       javax.ws.rs.core.Response.Status status)
      • errors

        public static javax.ws.rs.core.Response errors​(List<ErrorRepresentation> s,
                                                       javax.ws.rs.core.Response.Status status,
                                                       boolean shrinkSingleError)