Class ResponseEither<S,​U>


  • public class ResponseEither<S,​U>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ResponseEither()  
    • Method Summary

      Modifier and Type Method Description
      java.util.Optional<Response<S>> getLeft()  
      java.util.Optional<ResponseError<S,​U>> getRight()  
      void setLeft​(java.util.Optional<Response<S>> left)  
      void setRight​(java.util.Optional<ResponseError<S,​U>> right)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResponseEither

        public ResponseEither()
    • Method Detail

      • getLeft

        public java.util.Optional<Response<S>> getLeft()
      • setLeft

        public void setLeft​(java.util.Optional<Response<S>> left)
      • setRight

        public void setRight​(java.util.Optional<ResponseError<S,​U>> right)