Class LocalConnector.LocalEndPoint

    • Constructor Detail

      • LocalEndPoint

        public LocalEndPoint()
        Deprecated.
    • Method Detail

      • waitUntilClosed

        public void waitUntilClosed()
        Deprecated.
      • waitUntilClosedOrIdleFor

        public void waitUntilClosedOrIdleFor​(long idleFor,
                                             TimeUnit units)
        Deprecated.
      • getResponse

        public String getResponse()
                           throws Exception
        Deprecated.
        Wait for a response using a parser to detect the end of message
        Returns:
        Buffer containing full response or null for EOF;
        Throws:
        Exception - if the response cannot be parsed
      • getResponse

        public String getResponse​(boolean head,
                                  long time,
                                  TimeUnit unit)
                           throws Exception
        Deprecated.
        Wait for a response using a parser to detect the end of message
        Parameters:
        head - whether the request is a HEAD request
        time - the maximum time to wait
        unit - the time unit of the timeout argument
        Returns:
        Buffer containing full response or null for EOF;
        Throws:
        Exception - if the response cannot be parsed
      • waitForResponse

        public ByteBuffer waitForResponse​(boolean head,
                                          long time,
                                          TimeUnit unit)
                                   throws Exception
        Deprecated.
        Wait for a response using a parser to detect the end of message
        Parameters:
        head - whether the request is a HEAD request
        time - the maximum time to wait
        unit - the time unit of the timeout argument
        Returns:
        Buffer containing full response or null for EOF;
        Throws:
        Exception - if the response cannot be parsed