Package de.gematik.ncpeh.api.mock.http
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 Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.http.client.AbstractClientHttpResponse
getStatusCodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.http.HttpInputMessage
getBodyMethods inherited from interface org.springframework.http.HttpMessage
getHeaders
-
Constructor Details
-
PseudoHttpResponse
public PseudoHttpResponse()
-
-
Method Details
-
getRawStatusCode
public int getRawStatusCode() -
getStatusText
-
close
public void close()
-