Class StringResponse
- java.lang.Object
-
- com.github.paweladamski.httpclientmock.action.StringResponse
-
-
Constructor Summary
Constructors Constructor Description StringResponse(int statusCode, String response, org.apache.hc.core5.http.ContentType contentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hc.core5.http.ClassicHttpResponsegetResponse(Request request)
-
-
-
Constructor Detail
-
StringResponse
public StringResponse(int statusCode, String response, org.apache.hc.core5.http.ContentType contentType)
-
-
Method Detail
-
getResponse
public org.apache.hc.core5.http.ClassicHttpResponse getResponse(Request request)
- Specified by:
getResponsein interfaceAction
-
-