![JAR search and dependency download from the Maven repository](/logo.png)
de.twenty11.skysail.common.responses.FormResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of skysail.common Show documentation
Show all versions of skysail.common Show documentation
common for both server and client skysail code
The newest version!
package de.twenty11.skysail.common.responses;
import de.twenty11.skysail.common.PresentationStyle;
/**
* A last type of Response is the FormResponse: You'd get it in case of an HTML - Request whenever you want to add an
* entity or to display an existing one which you'd want to change.
*/
public class FormResponse extends SkysailResponse {
private String target;
public FormResponse(T entity) {
super(entity);
this.target = ".";
setMessage("web form");
}
public FormResponse(T entity, String target) {
super(entity);
this.target = target;
setMessage("web form");
setPresentationStyleHint(PresentationStyle.EDIT);
}
public String getTarget() {
return target;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy