Class OyRemote

  • All Implemented Interfaces:
    Objectionary

    public final class OyRemote
    extends Object
    implements Objectionary
    The simple HTTP Objectionary server.
    Since:
    0.1
    • Constructor Detail

      • OyRemote

        public OyRemote()
        Ctor.
      • OyRemote

        public OyRemote​(String hsh)
        Ctor.
        Parameters:
        hsh - The GitHub hash
      • OyRemote

        public OyRemote​(String url,
                        String hsh)
        Ctor.
        Parameters:
        url - The url template.
        hsh - The hash or branch.
    • Method Detail

      • get

        public org.cactoos.Input get​(String name)
                              throws IOException
        Description copied from interface: Objectionary
        Resolve object.
        Specified by:
        get in interface Objectionary
        Parameters:
        name - Object name.
        Returns:
        Object code.
        Throws:
        IOException - If fails to fetch.