Create a new ProtocolHandler for the given protocol. @param protocol the protocol @return the newly instantiated protocol handler @throws ClassNotFoundException Specified protocol was not found @throws InstantiationException Specified protocol could not be instantiated @throws IllegalAccess
(String protocol)
| 235 | * @throws SecurityException Exception occurred |
| 236 | */ |
| 237 | static ProtocolHandler create(String protocol) |
| 238 | throws ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException, |
| 239 | InvocationTargetException, NoSuchMethodException, SecurityException { |
| 240 | if (protocol == null || "HTTP/1.1".equals(protocol) || |
no outgoing calls