Class HostAndPortParser

java.lang.Object
org.wiremock.url.HostAndPortParser
All Implemented Interfaces:
org.wiremock.stringparser.StringParser<HostAndPort>

public final class HostAndPortParser extends Object implements org.wiremock.stringparser.StringParser<HostAndPort>
  • Field Details

  • Constructor Details

    • HostAndPortParser

      public HostAndPortParser()
  • Method Details

    • getType

      public Class<HostAndPort> getType()
      Specified by:
      getType in interface org.wiremock.stringparser.StringParser<HostAndPort>
    • parse

      public HostAndPort parse(String stringForm) throws org.wiremock.stringparser.ParseException
      Specified by:
      parse in interface org.wiremock.stringparser.StringParser<HostAndPort>
      Throws:
      org.wiremock.stringparser.ParseException