java - Parse request line of http header -
is there inbuilt in java.net
parse request line on http request?
for example:
connect google.com:443 http/1.1
in case want parse host
, port
.
you can use gethost() or getport() or getdefaultport() methods of java.net.url class.
for further information can check here
Comments
Post a Comment