Package org.wiremock.url
Class HostParser
java.lang.Object
org.wiremock.url.HostParser
- All Implemented Interfaces:
org.wiremock.stringparser.StringParser<Host>,PercentEncodedStringParser<Host>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
HostParser
public HostParser()
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceorg.wiremock.stringparser.StringParser<Host>
-
parse
- Specified by:
parsein interfaceorg.wiremock.stringparser.StringParser<Host>- Throws:
IllegalHost
-
encode
- Specified by:
encodein interfacePercentEncodedStringParser<Host>
-