/** * Gets the protocol, with default. * * @return the protocol */ @Override public String getProtocol() { String protocol = getPropertyAsString(PROTOCOL); if (StringUtils.isEmpty(protocol)) { return HTTPConstants.PROTOCOL_HTTP; } return protocol; }
/** * Gets the protocol, with default. * * @return the protocol */ @Override public String getProtocol() { String protocol = getPropertyAsString(PROTOCOL); if (StringUtils.isEmpty(protocol)) { return HTTPConstants.PROTOCOL_HTTP; } return protocol; }