public class MockServerResponse extends Object
Constructor and Description |
---|
MockServerResponse(String urlToMock,
String responseBody,
io.restassured.http.ContentType contentType,
io.netty.handler.codec.http.HttpResponseStatus statusCode,
Consumer<io.netty.handler.codec.http.HttpRequest> callback) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Consumer<io.netty.handler.codec.http.HttpRequest> |
getCallback() |
io.restassured.http.ContentType |
getContentType() |
String |
getResponseBody() |
io.netty.handler.codec.http.HttpResponseStatus |
getStatusCode() |
String |
getUrlToMock() |
int |
hashCode() |
public String getUrlToMock()
public String getResponseBody()
public io.restassured.http.ContentType getContentType()
public io.netty.handler.codec.http.HttpResponseStatus getStatusCode()
public Consumer<io.netty.handler.codec.http.HttpRequest> getCallback()
Copyright © 2020 Atlassian. All rights reserved.