play.mvc.Http.HttpVerbs.POST

Here are the examples of the java api play.mvc.Http.HttpVerbs.POST taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

18 Source : ApplicantProgramBlockEditView.java
with Apache License 2.0
from seattle-uat

public Content render(Params params) {
    String formAction = routes.ApplicantProgramBlocksController.update(params.applicantId(), params.programId(), params.block().getId()).url();
    return layout.render(h1(params.block().getName()), p(params.block().getDescription()), form().withAction(formAction).withMethod(HttpVerbs.POST).with(makeCsrfTokenInputTag(params.request())).with(each(params.block().getQuestions(), this::renderQuestion)).with(submitButton(params.messages().at("button.nextBlock"))));
}