All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.gold.scim.common.response.CreateResponse 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 - 14:49
*
* represents a creation response */ public class CreateResponse extends ScimResponse { public CreateResponse(JsonNode responseNode, String location) { super(responseNode); getHttpHeaders().put(HttpHeader.LOCATION_HEADER, location); } /** * {@inheritDoc} */ @Override public int getHttpStatus() { return HttpStatus.CREATED; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy