Class Murp


  • public class Murp
    extends java.lang.Object
    Some utilities for the reverse proxy. If you want to create a reverse proxy, use ReverseProxyBuilder.reverseProxy()
    Version:
    $Id: $Id
    Author:
    lujunjie
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String artifactVersion()
      Returns the current version of Murp, or 0.x if unknown
      static java.lang.String pathAndQuery​(java.net.URI uri)
      Given a gets the raw path and (if present) querystring portion of a URI.
      • Methods inherited from class java.lang.Object

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

      • artifactVersion

        public static java.lang.String artifactVersion()
        Returns the current version of Murp, or 0.x if unknown
        Returns:
        murp version
      • pathAndQuery

        public static java.lang.String pathAndQuery​(java.net.URI uri)

        Given a gets the raw path and (if present) querystring portion of a URI.

        Note: paths and query strings are not URL decoded.

        Parameters:
        uri - The URI to get the info from
        Returns:
        A string such as /path?query=something