Class PseudoHttpResponse

java.lang.Object
org.springframework.http.client.AbstractClientHttpResponse
de.gematik.ncpeh.api.mock.http.PseudoHttpResponse
All Implemented Interfaces:
Closeable, AutoCloseable, org.springframework.http.client.ClientHttpResponse, org.springframework.http.HttpInputMessage, org.springframework.http.HttpMessage

public class PseudoHttpResponse extends org.springframework.http.client.AbstractClientHttpResponse
Lightweight implementation of an HTTP response with the only purpose to create testdata for the API operations in the form of content for SimulatorCommunicationData.responseReceived() fields.
  • Constructor Details

    • PseudoHttpResponse

      public PseudoHttpResponse()
  • Method Details

    • getRawStatusCode

      public int getRawStatusCode()
    • getStatusText

      public String getStatusText()
    • close

      public void close()