/** * Make a POST request to create a new memento (LDPRm) within an LDPCv using the given memento-datetime and the * request body. * * @param url the URL of the LDPCv in which to create the LDPRm. * @param mementoDatetime the RFC1123 formatted memento datetime. * @return a memento creation request builder object */ public HistoricMementoBuilder createMemento(final URI url, final String mementoDatetime) { return new HistoricMementoBuilder(url, this, mementoDatetime); }
/** * Make a POST request to create a new memento (LDPRm) within an LDPCv using the given memento-datetime and the * request body. * * @param url the URL of the LDPCv in which to create the LDPRm. * @param mementoInstant the memento datetime as an Instant. * @return a memento creation request builder object */ public HistoricMementoBuilder createMemento(final URI url, final Instant mementoInstant) { return new HistoricMementoBuilder(url, this, mementoInstant); }