Package io.inversion
Class Server.ServerMatcher
- java.lang.Object
-
- io.inversion.Server.ServerMatcher
-
- Enclosing class:
- Server
public static class Server.ServerMatcher extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ServerMatcher(Url url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.inversion.utils.PathgetHost()io.inversion.utils.PathgetPath()intgetPort()java.lang.StringgetProtocol()booleanmatch(Url url)java.lang.StringtoString()
-
-
-
Constructor Detail
-
ServerMatcher
public ServerMatcher(Url url)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
match
public boolean match(Url url)
-
getProtocol
public java.lang.String getProtocol()
-
getHost
public io.inversion.utils.Path getHost()
-
getPath
public io.inversion.utils.Path getPath()
-
getPort
public int getPort()
-
-