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
    com.linecorp.armeria.server.ServiceRequestContext
    The ServiceRequestContext created when handling the request.
    boolean
    equals(@Nullable Object o)
     
    int
     
    com.linecorp.armeria.common.AggregatedHttpRequest
    The AggregatedHttpRequest received by the server.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • request

      public com.linecorp.armeria.common.AggregatedHttpRequest request()
      The AggregatedHttpRequest received by the server.
    • context

      public com.linecorp.armeria.server.ServiceRequestContext context()
      The ServiceRequestContext created when handling the request. Can be used to, e.g., check whether the request uses TLS.
    • equals

      public boolean equals(@Nullable @Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object