Package io.muserver.murp
Class Murp
- java.lang.Object
-
- io.muserver.murp.Murp
-
public class Murp extends java.lang.ObjectSome utilities for the reverse proxy. If you want to create a reverse proxy, useReverseProxyBuilder.reverseProxy()- Version:
- $Id: $Id
- Author:
- lujunjie
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringartifactVersion()Returns the current version of Murp, or 0.x if unknownstatic java.lang.StringpathAndQuery(java.net.URI uri)Given a gets the raw path and (if present) querystring portion of a URI.
-
-
-
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
-
-