Package org.takes.rq

Interface RqRequestLine

  • All Superinterfaces:
    Body, Head, Request
    All Known Implementing Classes:
    RqRequestLine.Base

    public interface RqRequestLine
    extends Request
    HTTP Request-Line parsing.

    All implementations of this interface must be immutable and thread-safe.

    Since:
    0.29.1
    • Method Detail

      • method

        String method()
               throws IOException
        Get Request-Line method token.
        Returns:
        HTTP Request-Line method token
        Throws:
        IOException - If fails
      • uri

        String uri()
            throws IOException
        Get Request-Line Request-URI token.
        Returns:
        HTTP Request-Line method token
        Throws:
        IOException - If fails
      • version

        String version()
                throws IOException
        Get Request-Line HTTP-Version token.
        Returns:
        HTTP Request-Line method token
        Throws:
        IOException - If fails