Package de.gematik.ncpeh.api.mock.http
Class PseudoHttpRequest
java.lang.Object
org.springframework.http.client.AbstractClientHttpRequest
de.gematik.ncpeh.api.mock.http.PseudoHttpRequest
- All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequest,org.springframework.http.HttpMessage,org.springframework.http.HttpOutputMessage,org.springframework.http.HttpRequest
public class PseudoHttpRequest
extends org.springframework.http.client.AbstractClientHttpRequest
Lightweight implementation of an HTTP request with the only purpose to create testdata for the
API operations in the form of content for
SimulatorCommunicationData.requestSend()
fields.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.http.client.ClientHttpResponseexecuteInternal(org.springframework.http.HttpHeaders headers) protected OutputStreamgetBodyInternal(org.springframework.http.HttpHeaders headers) Methods inherited from class org.springframework.http.client.AbstractClientHttpRequest
assertNotExecuted, execute, getBody, getHeadersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.http.HttpRequest
getMethod, getURI
-
Constructor Details
-
PseudoHttpRequest
public PseudoHttpRequest()
-
-
Method Details
-
getBodyInternal
- Specified by:
getBodyInternalin classorg.springframework.http.client.AbstractClientHttpRequest
-
executeInternal
protected org.springframework.http.client.ClientHttpResponse executeInternal(org.springframework.http.HttpHeaders headers) - Specified by:
executeInternalin classorg.springframework.http.client.AbstractClientHttpRequest
-
getMethodValue
-