java.lang.Object
org.springframework.extensions.webscripts.Status
org.springframework.extensions.webscripts.connector.ResponseStatus

public class ResponseStatus extends Status
Wrapper around the Status object that allows the Remote Client to expose header state. Records the outcome of a call
Author:
muzquiano
  • Constructor Details

    • ResponseStatus

      public ResponseStatus()
  • Method Details

    • setHeader

      public void setHeader(String headerName, String headerValue)
      Allows for response headers to be stored onto the status
      Parameters:
      headerName - name of the header
      headerValue - value of the header
    • getHeaders

      public Map<String,String> getHeaders()
      Retrieves response headers
      Returns:
      map of response headers