Class RecordedRequest
java.lang.Object
com.linecorp.armeria.testing.junit5.server.mock.RecordedRequest
public final class RecordedRequest extends Object
A request that has been made to a
MockWebServerExtension
.-
Method Summary
Modifier and Type Method Description ServiceRequestContext
context()
TheServiceRequestContext
created when handling the request.boolean
equals(Object o)
int
hashCode()
AggregatedHttpRequest
request()
TheAggregatedHttpRequest
received by the server.String
toString()
-
Method Details
-
request
TheAggregatedHttpRequest
received by the server. -
context
TheServiceRequestContext
created when handling the request. Can be used to, e.g., check whether the request uses TLS. -
equals
-
hashCode
public int hashCode() -
toString
-