Class StringUnmarshaller$


  • public class StringUnmarshaller$
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static StringUnmarshaller$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <B> Unmarshaller<java.lang.String,​B> async​(java.util.function.Function<java.lang.String,​java.util.concurrent.CompletionStage<B>> f)
      Turns the given asynchronous function into an unmarshaller from String to B.
      <B> Unmarshaller<java.lang.String,​B> sync​(java.util.function.Function<java.lang.String,​B> f)
      Turns the given function into an unmarshaller from String to B.
      • Methods inherited from class java.lang.Object

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

      • MODULE$

        public static final StringUnmarshaller$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • StringUnmarshaller$

        public StringUnmarshaller$()
    • Method Detail

      • async

        public <B> Unmarshaller<java.lang.String,​B> async​(java.util.function.Function<java.lang.String,​java.util.concurrent.CompletionStage<B>> f)
        Turns the given asynchronous function into an unmarshaller from String to B.
        Parameters:
        f - (undocumented)
        Returns:
        (undocumented)
      • sync

        public <B> Unmarshaller<java.lang.String,​B> sync​(java.util.function.Function<java.lang.String,​B> f)
        Turns the given function into an unmarshaller from String to B.
        Parameters:
        f - (undocumented)
        Returns:
        (undocumented)