Class ScimResponse

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializable.Base
com.fasterxml.jackson.databind.JsonNode
com.fasterxml.jackson.databind.node.BaseJsonNode
com.fasterxml.jackson.databind.node.ContainerNode<com.fasterxml.jackson.databind.node.ObjectNode>
com.fasterxml.jackson.databind.node.ObjectNode
All Implemented Interfaces:
com.fasterxml.jackson.core.TreeNode, com.fasterxml.jackson.databind.JsonSerializable, com.fasterxml.jackson.databind.node.JsonNodeCreator, ScimNode, Serializable, Iterable<com.fasterxml.jackson.databind.JsonNode>
Direct Known Subclasses:
BulkResponse, CreateResponse, DeleteResponse, ErrorResponse, GetResponse, ListResponse, UpdateResponse

public abstract class ScimResponse extends AbstractSchemasHolder
author Pascal Knueppel
created at: 03.10.2019 - 19:29

The abstract implementation for all responses created by this framework
See Also:
  • Constructor Details

    • ScimResponse

      public ScimResponse(com.fasterxml.jackson.databind.JsonNode responseNode)
    • ScimResponse

      protected ScimResponse()
  • Method Details

    • setETag

      protected void setETag(Meta meta)
      will set the entity tag into the response headers
      Parameters:
      meta - the meta attribute that might contain a version-attribute which is the entity tag
    • buildResponse

      public javax.ws.rs.core.Response buildResponse()
      builds a response object that should be usable with most of the common rest apis
      Returns:
      a jax-rs response containing the response body and the http headers
    • buildJakartaResponse

      public jakarta.ws.rs.core.Response buildJakartaResponse()
      builds a response object that should be usable with most of the common rest apis
      Returns:
      a jakarta-rs response containing the response body and the http headers
    • getHttpStatus

      public abstract int getHttpStatus()
      the http status code of the response
    • getHttpHeaders

      public Map<String,String> getHttpHeaders()
      contains the http header attributes for the response