Java Network Http
Java examples for Network:Http
HOME
Java
Network
Http
Description
Click the following links for the tutorial for Network and Http.
Developing a Concise HTTP Client
Making HTTP Requests and Working with HTTP Responses
Getting the Response Headers from an HTTP Connection
Preventing Automatic Redirects in a HTTP Connection
is content Type Binary
HTTP send Get
HTTP send Post
get HTTP Code Message
do Send to Socket server
create Host Name Verifier
create SSL Context
make Saaj Request SOAPMessage
Used to send a specific message as a POST request to an endpoint.
Parses a JSON object into a map of links.
Get SSL Context
get Https URL Connection
get Http URL Connection
Creates a new java.net.URLConnection object from the specified java.net.URL.
get Cookie from HttpServletRequest
do Http Post
do Https Get
get App Host Name from HttpServletRequest
validate URL by connecting to it
Copied from URLDecoder.java
is Host Port Available
Returns the hostname of the local host.
open Link vis default browser
get Content Type from return File Name
is HTTP Response Code Retryable
get Page by encoding
Download from HTTP return InputStream
Parse out a charset from a content type header.
binary Sid To String Sid
string Sid To Byte Array Sid
fetch HTTP Data
Extracts only the mime-type from a Content-Type HTTP header.
Look for the HTTP verb which should be GET , POST , PUT , DELETE , OPTIONS or HEAD .
Returns the Charset from the given content-type.
Iterates over the given acceptedContentTypes, looking for one of those values: text/html application/xhtml+xml application/xml