de.gold.scim.common.response.UpdateResponse Maven / Gradle / Ivy
The newest version!
package de.gold.scim.common.response;
import com.fasterxml.jackson.databind.JsonNode;
import de.gold.scim.common.constants.HttpHeader;
import de.gold.scim.common.constants.HttpStatus;
/**
* author Pascal Knueppel
* created at: 14.10.2019 - 20:09
*
* represents an update response object
*/
public class UpdateResponse extends ScimResponse
{
public UpdateResponse(JsonNode responseNode, String location)
{
super(responseNode);
getHttpHeaders().put(HttpHeader.LOCATION_HEADER, location);
}
/**
* {@inheritDoc}
*/
@Override
public int getHttpStatus()
{
return HttpStatus.OK;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy