Class Request<T>

  • Type Parameters:
    T - content type of the request object

    public class Request<T>
    extends Object
    Class that represents a generic invocation of operation. This class encapsulates the parameters required to perform the operation by the request consumer.
    • Constructor Detail

    • Method Detail

      • getContent

        public T getContent()
        Returns:
        the content
      • getContext

        public Map<String,​StringgetContext()
        Context contains additional request parameters.
        Returns:
        the context
      • setParameter

        public void setParameter​(T content)
        Parameters:
        content - the content to set