Class RequestContextBuilder

    • Field Detail

      • inboundMessageId

        private String inboundMessageId
        The ID of the inbound message.
      • inboundMessageIssueInstant

        private Instant inboundMessageIssueInstant
        The issue instant of the inbound message.
      • inboundMessageIssuer

        private String inboundMessageIssuer
        The issuer of the inbound message.
      • inboundMessage

        private Object inboundMessage
        The inbound message.
      • outboundMessageId

        private String outboundMessageId
        The ID of the outbound message.
      • outboundMessageIssueInstant

        private Instant outboundMessageIssueInstant
        The issue instant of the outbound message.
      • outboundMessageIssuer

        private String outboundMessageIssuer
        The issuer of the outbound message.
      • outboundMessage

        private Object outboundMessage
        The outbound message.
    • Constructor Detail

      • RequestContextBuilder

        public RequestContextBuilder()
        Constructor.
      • RequestContextBuilder

        public RequestContextBuilder​(RequestContextBuilder prototype)
        Constructor.
        Parameters:
        prototype - prototype whose properties are copied onto this builder
    • Method Detail

      • setInboundMessageId

        @Nonnull
        public RequestContextBuilder setInboundMessageId​(@Nullable
                                                         String id)
        Sets the ID of the inbound message.
        Parameters:
        id - ID of the inbound message
        Returns:
        this builder
      • setInboundMessageIssueInstant

        @Nonnull
        public RequestContextBuilder setInboundMessageIssueInstant​(@Nullable
                                                                   Instant instant)
        Sets the issue instant of the inbound message.
        Parameters:
        instant - issue instant of the inbound message
        Returns:
        this builder
      • setInboundMessageIssuer

        @Nonnull
        public RequestContextBuilder setInboundMessageIssuer​(@Nullable
                                                             String issuer)
        Sets the issuer of the inbound message.
        Parameters:
        issuer - issuer of the inbound message
        Returns:
        this builder
      • setInboundMessage

        @Nonnull
        public RequestContextBuilder setInboundMessage​(@Nullable
                                                       Object message)
        Sets the inbound message.
        Parameters:
        message - the inbound message
        Returns:
        this builder
      • setOutboundMessageId

        @Nonnull
        public RequestContextBuilder setOutboundMessageId​(@Nullable
                                                          String id)
        Sets the ID of the outbound message.
        Parameters:
        id - ID of the outbound message
        Returns:
        this builder
      • setOutboundMessageIssueInstant

        @Nonnull
        public RequestContextBuilder setOutboundMessageIssueInstant​(@Nullable
                                                                    Instant instant)
        Sets the issue instant of the outbound message.
        Parameters:
        instant - issue instant of the outbound message
        Returns:
        this builder
      • setOutboundMessageIssuer

        public RequestContextBuilder setOutboundMessageIssuer​(@Nullable
                                                              String issuer)
        Sets the issuer of the outbound message.
        Parameters:
        issuer - issuer of the outbound message
        Returns:
        this builder
      • setOutboundMessage

        @Nonnull
        public RequestContextBuilder setOutboundMessage​(@Nullable
                                                        Object message)
        Sets the outbound message.
        Parameters:
        message - the outbound message
        Returns:
        this builder