Class NSURLRequest

    • Constructor Detail

      • NSURLRequest

        public NSURLRequest()
      • NSURLRequest

        protected NSURLRequest​(NSObject.Handle h,
                               long handle)
      • NSURLRequest

        public NSURLRequest​(NSURL URL)
      • NSURLRequest

        public NSURLRequest​(NSCoder decoder)
    • Method Detail

      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • getURL

        public NSURL getURL()
      • getTimeoutInterval

        public double getTimeoutInterval()
      • getMainDocumentURL

        public NSURL getMainDocumentURL()
      • allowsCellularAccess

        public boolean allowsCellularAccess()
        Available in iOS 6.0 and later.
      • getHTTPMethod

        public java.lang.String getHTTPMethod()
      • getAllHTTPHeaderFields

        public java.util.Map<java.lang.String,​java.lang.String> getAllHTTPHeaderFields()
      • getHTTPBody

        public NSData getHTTPBody()
      • shouldHandleHTTPCookies

        public boolean shouldHandleHTTPCookies()
      • shouldUseHTTPPipelining

        public boolean shouldUseHTTPPipelining()
        Available in iOS 4.0 and later.
      • setURL

        public void setURL​(NSURL v)
      • setTimeoutInterval

        public void setTimeoutInterval​(double v)
      • setMainDocumentURL

        public void setMainDocumentURL​(NSURL v)
      • setAllowsCellularAccess

        public void setAllowsCellularAccess​(boolean v)
      • setHTTPMethod

        public void setHTTPMethod​(java.lang.String v)
      • setAllHTTPHeaderFields

        public void setAllHTTPHeaderFields​(java.util.Map<java.lang.String,​java.lang.String> v)
      • setHTTPBody

        public void setHTTPBody​(NSData v)
      • setHTTPBodyStream

        public void setHTTPBodyStream​(NSInputStream v)
      • setShouldHandleHTTPCookies

        public void setShouldHandleHTTPCookies​(boolean v)
      • setShouldUseHTTPPipelining

        public void setShouldUseHTTPPipelining​(boolean v)
      • setHTTPHeaderField

        public void setHTTPHeaderField​(java.lang.String field,
                                       java.lang.String value)
      • addHTTPHeaderField

        public void addHTTPHeaderField​(java.lang.String field,
                                       java.lang.String value)
      • init

        protected long init​(NSURL URL)
      • getHTTPHeaderFieldValue

        public java.lang.String getHTTPHeaderFieldValue​(java.lang.String field)
      • init

        protected long init​(NSCoder decoder)