Class ServletInvocationContext

java.lang.Object
net.odoframework.jetty.runtime.ServletInvocationContext
All Implemented Interfaces:
InvocationContext<Pair<jakarta.servlet.http.HttpServletRequest,​jakarta.servlet.http.HttpServletResponse>>

public class ServletInvocationContext
extends Object
implements InvocationContext<Pair<jakarta.servlet.http.HttpServletRequest,​jakarta.servlet.http.HttpServletResponse>>
  • Constructor Details

    • ServletInvocationContext

      public ServletInvocationContext​(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
  • Method Details

    • getRequestId

      public String getRequestId()
      Specified by:
      getRequestId in interface InvocationContext<Pair<jakarta.servlet.http.HttpServletRequest,​jakarta.servlet.http.HttpServletResponse>>
    • getRequestContext

      public Pair<jakarta.servlet.http.HttpServletRequest,​jakarta.servlet.http.HttpServletResponse> getRequestContext()
      Specified by:
      getRequestContext in interface InvocationContext<Pair<jakarta.servlet.http.HttpServletRequest,​jakarta.servlet.http.HttpServletResponse>>
    • getRawPayload

      public Object getRawPayload()
      Specified by:
      getRawPayload in interface InvocationContext<Pair<jakarta.servlet.http.HttpServletRequest,​jakarta.servlet.http.HttpServletResponse>>