code: public void setRequestType(int pathId, Integer requestType) {
          if (requestType == null) {
              requestType = Constants.REQUEST_TYPE_GET;
          }
          PreparedStatement statement = null;
  
          try (Connection sqlConnection = sqlService.getConnection()) {
              statement = sqlConnection.prepareStatement(
                  "UPDATE " + Constants.DB_TABLE_PATH +
                      " SET " + Constants.PATH_PROFILE_REQUEST_TYPE + " = ?" +
                      " WHERE " + Constants.GENERIC_ID + " = ?"
              );
              statement.setInt(1, requestType);
              statement.setInt(2, pathId);
              statement.executeUpdate();
          } catch (SQLException e) {
              e.printStackTrace();
          } finally {
              try {
                  if (statement != null) {
                      statement.close();
                  }
              } catch (Exception e) {
              }
          }
      }
docs: Sets the request type for this ID.  Defaults to GET
  
  @param pathId ID of path
  @param requestType type of request to service