Class RrpcRestOpContext

All Implemented Interfaces:
Comparable<RestOpContext>

public class RrpcRestOpContext extends RestOpContext
A specialized RestOpContext for handling "RRPC" HTTP methods.
Notes:
  • This class is thread safe and reusable.
See Also:
  • Constructor Details

    • RrpcRestOpContext

      public RrpcRestOpContext(Method method, RestContext context) throws jakarta.servlet.ServletException
      Constructor.
      Parameters:
      method - The Java method this context represents. Must not be null.
      context - The owning RestContext. Must not be null.
      Throws:
      jakarta.servlet.ServletException - If context could not be created.
    • RrpcRestOpContext

      public RrpcRestOpContext(Method method, RestContext context, Supplier<Object> resourceSupplier) throws jakarta.servlet.ServletException
      Constructor.
      Parameters:
      method - The Java method this context represents. Must not be null.
      context - The owning RestContext. Must not be null.
      resourceSupplier - Supplier that returns the invocation target for this operation.
      Throws:
      jakarta.servlet.ServletException - If context could not be created.
  • Method Details