Class Request

  • All Implemented Interfaces:
    Body

    @JsType(isNative=true,
            namespace="<global>")
    public class Request
    extends java.lang.Object
    implements Body
    • Field Detail

      • bodyUsed

        public boolean bodyUsed
      • cache

        public java.lang.String cache
      • credentials

        public java.lang.String credentials
      • destination

        public java.lang.String destination
      • integrity

        public java.lang.String integrity
      • isHistoryNavigation

        public boolean isHistoryNavigation
      • keepalive

        public boolean keepalive
      • method

        public java.lang.String method
      • mode

        public java.lang.String mode
      • redirect

        public java.lang.String redirect
      • referrer

        public java.lang.String referrer
      • type

        public java.lang.String type
      • url

        public java.lang.String url
    • Method Detail

      • arrayBuffer

        public elemental2.promise.Promise<elemental2.core.ArrayBuffer> arrayBuffer()
        Specified by:
        arrayBuffer in interface Body
      • blob

        public elemental2.promise.Promise<Blob> blob()
        Specified by:
        blob in interface Body
      • clone_

        @JsMethod(name="clone")
        public Request clone_()
      • formData

        public elemental2.promise.Promise<FormData> formData()
        Specified by:
        formData in interface Body
      • isBodyUsed

        @JsProperty
        public boolean isBodyUsed()
        Specified by:
        isBodyUsed in interface Body
      • json

        public elemental2.promise.Promise<java.lang.Object> json()
        Specified by:
        json in interface Body
      • setBodyUsed

        @JsProperty
        public void setBodyUsed​(boolean bodyUsed)
        Specified by:
        setBodyUsed in interface Body
      • text

        public elemental2.promise.Promise<java.lang.String> text()
        Specified by:
        text in interface Body