Class HeaderUtil
java.lang.Object
org.powertac.visualizer.web.rest.util.HeaderUtil
public final class HeaderUtil extends Object
Utility class for HTTP headers creation.
-
Method Summary
Modifier and Type Method Description static org.springframework.http.HttpHeaderscreateAlert(String message, String param)static org.springframework.http.HttpHeaderscreateEntityCreationAlert(String entityName, String param)static org.springframework.http.HttpHeaderscreateEntityDeletionAlert(String entityName, String param)static org.springframework.http.HttpHeaderscreateEntityUpdateAlert(String entityName, String param)static org.springframework.http.HttpHeaderscreateFailureAlert(String entityName, String errorKey, String defaultMessage)