NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSURLComponents(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static NSURLComponents |
alloc() |
static NSURLComponents |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static NSURLComponents |
componentsWithString(java.lang.String URLString)
Initializes and returns a newly created NSURLComponents with a URL string.
|
static NSURLComponents |
componentsWithURLResolvingAgainstBaseURL(NSURL url,
boolean resolve)
Initializes and returns a newly created NSURLComponents with the components of a URL.
|
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
java.lang.String |
fragment() |
static long |
hash_static() |
java.lang.String |
host() |
NSURLComponents |
init()
Initialize a NSURLComponents with all components undefined.
|
NSURLComponents |
initWithString(java.lang.String URLString)
Initialize a NSURLComponents with a URL string.
|
NSURLComponents |
initWithURLResolvingAgainstBaseURL(NSURL url,
boolean resolve)
Initialize a NSURLComponents with the components of a URL.
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static NSURLComponents |
new_objc() |
java.lang.String |
password() |
java.lang.String |
path() |
java.lang.String |
percentEncodedFragment() |
java.lang.String |
percentEncodedHost() |
java.lang.String |
percentEncodedPassword() |
java.lang.String |
percentEncodedPath() |
java.lang.String |
percentEncodedQuery() |
NSArray<? extends NSURLQueryItem> |
percentEncodedQueryItems()
The percentEncodedQueryItems getter returns an array of NSURLQueryItems in the order in which they appear in the original query string.
|
java.lang.String |
percentEncodedUser()
Getting these properties retains any percent encoding these components may have.
|
NSNumber |
port()
Attempting to set a negative port number will cause an exception.
|
java.lang.String |
query() |
NSArray<? extends NSURLQueryItem> |
queryItems()
The query component as an array of NSURLQueryItems for this NSURLComponents.
|
NSRange |
rangeOfFragment() |
NSRange |
rangeOfHost() |
NSRange |
rangeOfPassword() |
NSRange |
rangeOfPath() |
NSRange |
rangeOfPort() |
NSRange |
rangeOfQuery() |
NSRange |
rangeOfScheme()
These properties return the character range of a component in the URL string returned by -[NSURLComponents string].
|
NSRange |
rangeOfUser() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
java.lang.String |
scheme()
Attempting to set the scheme with an invalid scheme string will cause an exception.
|
void |
setFragment(java.lang.String value) |
void |
setHost(java.lang.String value) |
void |
setPassword(java.lang.String value) |
void |
setPath(java.lang.String value) |
void |
setPercentEncodedFragment(java.lang.String value) |
void |
setPercentEncodedHost(java.lang.String value) |
void |
setPercentEncodedPassword(java.lang.String value) |
void |
setPercentEncodedPath(java.lang.String value) |
void |
setPercentEncodedQuery(java.lang.String value) |
void |
setPercentEncodedQueryItems(NSArray<? extends NSURLQueryItem> value)
The percentEncodedQueryItems getter returns an array of NSURLQueryItems in the order in which they appear in the original query string.
|
void |
setPercentEncodedUser(java.lang.String value)
Getting these properties retains any percent encoding these components may have.
|
void |
setPort(NSNumber value)
Attempting to set a negative port number will cause an exception.
|
void |
setQuery(java.lang.String value) |
void |
setQueryItems(NSArray<? extends NSURLQueryItem> value)
The query component as an array of NSURLQueryItems for this NSURLComponents.
|
void |
setScheme(java.lang.String value)
Attempting to set the scheme with an invalid scheme string will cause an exception.
|
void |
setUser(java.lang.String value) |
static void |
setVersion_static(long aVersion) |
java.lang.String |
string()
Returns a URL string created from the NSURLComponents.
|
static org.moe.natj.objc.Class |
superclass_static() |
NSURL |
URL()
Returns a URL created from the NSURLComponents.
|
NSURL |
URLRelativeToURL(NSURL baseURL)
Returns a URL created from the NSURLComponents relative to a base URL.
|
java.lang.String |
user() |
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static NSURLComponents alloc()
public static NSURLComponents allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static NSURLComponents componentsWithString(java.lang.String URLString)
public static NSURLComponents componentsWithURLResolvingAgainstBaseURL(NSURL url, boolean resolve)
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static NSURLComponents new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public NSURL URL()
public NSURL URLRelativeToURL(NSURL baseURL)
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic java.lang.String fragment()
public java.lang.String host()
public NSURLComponents init()
public NSURLComponents initWithString(java.lang.String URLString)
public NSURLComponents initWithURLResolvingAgainstBaseURL(NSURL url, boolean resolve)
public java.lang.String password()
public java.lang.String path()
public java.lang.String percentEncodedFragment()
public java.lang.String percentEncodedHost()
public java.lang.String percentEncodedPassword()
public java.lang.String percentEncodedPath()
public java.lang.String percentEncodedQuery()
public java.lang.String percentEncodedUser()
public NSNumber port()
public java.lang.String query()
public NSArray<? extends NSURLQueryItem> queryItems()
Each NSURLQueryItem represents a single key-value pair,
Note that a name may appear more than once in a single query string, so the name values are not guaranteed to be unique. If the NSURLComponents has an empty query component, returns an empty array. If the NSURLComponents has no query component, returns nil.
The queryItems getter returns an array of NSURLQueryItems in the order in which they appear in the original query string. Any percent-encoding in a NSURLQueryItem name or value is removed.
The queryItems setter combines an array containing any number of NSURLQueryItems, each of which represents a single key-value pair, into a query string and sets the NSURLComponents query property. If the NSURLQueryItems name or value strings contain any characters not allowed in a URL's query component, those characters are percent-encoded. In addition, any '&' and '=' characters in a NSURLQueryItem name are percent-encoded. Passing an empty array sets the query component of the NSURLComponents to an empty string. Passing nil removes the query component of the NSURLComponents.
- note: If a NSURLQueryItem name-value pair is empty (i.e. the query string starts with '&', ends with '&', or has "&&" within it), you get a NSURLQueryItem with a zero-length name and a nil value. If a NSURLQueryItem name-value pair has nothing before the equals sign, you get a zero-length name. If a NSURLQueryItem name-value pair has nothing after the equals sign, you get a zero-length value. If a NSURLQueryItem name-value pair has no equals sign, the NSURLQueryItem name-value pair string is the name and you get a nil value.
public NSRange rangeOfFragment()
public NSRange rangeOfHost()
public NSRange rangeOfPassword()
public NSRange rangeOfPath()
public NSRange rangeOfPort()
public NSRange rangeOfQuery()
public NSRange rangeOfScheme()
public NSRange rangeOfUser()
public java.lang.String scheme()
public void setFragment(java.lang.String value)
public void setHost(java.lang.String value)
public void setPassword(java.lang.String value)
public void setPath(java.lang.String value)
public void setPercentEncodedFragment(java.lang.String value)
public void setPercentEncodedHost(java.lang.String value)
public void setPercentEncodedPassword(java.lang.String value)
public void setPercentEncodedPath(java.lang.String value)
public void setPercentEncodedQuery(java.lang.String value)
public void setPercentEncodedUser(java.lang.String value)
public void setPort(NSNumber value)
public void setQuery(java.lang.String value)
public void setQueryItems(NSArray<? extends NSURLQueryItem> value)
Each NSURLQueryItem represents a single key-value pair,
Note that a name may appear more than once in a single query string, so the name values are not guaranteed to be unique. If the NSURLComponents has an empty query component, returns an empty array. If the NSURLComponents has no query component, returns nil.
The queryItems getter returns an array of NSURLQueryItems in the order in which they appear in the original query string. Any percent-encoding in a NSURLQueryItem name or value is removed.
The queryItems setter combines an array containing any number of NSURLQueryItems, each of which represents a single key-value pair, into a query string and sets the NSURLComponents query property. If the NSURLQueryItems name or value strings contain any characters not allowed in a URL's query component, those characters are percent-encoded. In addition, any '&' and '=' characters in a NSURLQueryItem name are percent-encoded. Passing an empty array sets the query component of the NSURLComponents to an empty string. Passing nil removes the query component of the NSURLComponents.
- note: If a NSURLQueryItem name-value pair is empty (i.e. the query string starts with '&', ends with '&', or has "&&" within it), you get a NSURLQueryItem with a zero-length name and a nil value. If a NSURLQueryItem name-value pair has nothing before the equals sign, you get a zero-length name. If a NSURLQueryItem name-value pair has nothing after the equals sign, you get a zero-length value. If a NSURLQueryItem name-value pair has no equals sign, the NSURLQueryItem name-value pair string is the name and you get a nil value.
public void setScheme(java.lang.String value)
public void setUser(java.lang.String value)
public java.lang.String string()
public java.lang.String user()
public NSArray<? extends NSURLQueryItem> percentEncodedQueryItems()
The percentEncodedQueryItems setter combines an array containing any number of NSURLQueryItems, each of which represents a single key-value pair, into a query string and sets the NSURLComponents query property. This property assumes the NSURLQueryItem names and values are already correctly percent-encoded, and that the NSURLQueryItem names do not contain the query item delimiter characters '&' and '='. Attempting to set an incorrectly percent-encoded NSURLQueryItem or a NSURLQueryItem name with the query item delimiter characters '&' and '=' will cause an exception.
public void setPercentEncodedQueryItems(NSArray<? extends NSURLQueryItem> value)
The percentEncodedQueryItems setter combines an array containing any number of NSURLQueryItems, each of which represents a single key-value pair, into a query string and sets the NSURLComponents query property. This property assumes the NSURLQueryItem names and values are already correctly percent-encoded, and that the NSURLQueryItem names do not contain the query item delimiter characters '&' and '='. Attempting to set an incorrectly percent-encoded NSURLQueryItem or a NSURLQueryItem name with the query item delimiter characters '&' and '=' will cause an exception.