Uses of Class
playn.core.Net.Builder
-
Uses of Net.Builder in playn.core
Modifier and TypeMethodDescriptionAdds the supplied request header.Creates a builder for a request with the specified URL.Net.Builder.setPayload
(byte[] payload) Configures the payload of this request as raw bytes with content type "application/octet-stream".Net.Builder.setPayload
(byte[] payload, String contentType) Configures the payload of this request as raw bytes with the specified content type.Net.Builder.setPayload
(String payload) Configures the payload of this request as a UTF-8 string with content type "text/plain".Net.Builder.setPayload
(String payload, String contentType) Configures the payload of this request as a UTF-8 string with content type configured as "contentType
; charset=UTF-8".