Package dev.speakeasyapi.sdk
Class SpeakeasyHarBuilder
java.lang.Object
dev.speakeasyapi.sdk.SpeakeasyHarBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild()com.smartbear.har.model.HarCreatorcom.smartbear.har.model.HarRequestcom.smartbear.har.model.HarResponsegetPort()withComment(String comment) withCreator(com.smartbear.har.model.HarCreator creator) withEndTime(Date endTime) withHostName(String hostName) withOutputStream(OutputStream outputStream) withPort(int port) withRequest(org.springframework.web.util.ContentCachingRequestWrapper request) withResponse(org.springframework.web.util.ContentCachingResponseWrapper response, String httpVersion) withStartTime(Date startTime)
-
Constructor Details
-
SpeakeasyHarBuilder
public SpeakeasyHarBuilder()
-
-
Method Details
-
getOutputStream
-
getComment
-
getStartTime
-
getEndTime
-
getHostName
-
getPort
-
getCreator
public com.smartbear.har.model.HarCreator getCreator() -
getHarRequest
public com.smartbear.har.model.HarRequest getHarRequest() -
getHarResponse
public com.smartbear.har.model.HarResponse getHarResponse() -
withStartTime
-
withEndTime
-
withHostName
-
withPort
-
withRequest
public SpeakeasyHarBuilder withRequest(org.springframework.web.util.ContentCachingRequestWrapper request) throws IOException - Throws:
IOException
-
withResponse
public SpeakeasyHarBuilder withResponse(org.springframework.web.util.ContentCachingResponseWrapper response, String httpVersion) -
withOutputStream
-
withComment
-
withCreator
-
build
- Throws:
IOException
-