Class BaseRequest

    • Constructor Detail

      • BaseRequest

        public BaseRequest​(RequestType type,
                           String messageId)
        Parameters:
        type - String name of the request type.
        messageId - Client defined identifier for the message, will be echoed in the response.
    • Method Detail

      • getMessageId

        public String getMessageId()
        Client defined identifier for the message, will be echoed in the response.
      • getResponseType

        public abstract Class<?> getResponseType()
        Response type class to map the response to the correct datatype.
      • isAuthenticationRequired

        public boolean isAuthenticationRequired()
        Says if request needs to wait for authentication.
      • getRequestName

        public abstract String getRequestName()
        Says what the name is of this class.