java.lang.Object
org.htmlunit.corejs.javascript.SlotMapOwner<org.htmlunit.corejs.javascript.Scriptable>
org.htmlunit.corejs.javascript.ScriptableObject
org.htmlunit.corejs.javascript.ES6Iterator
org.htmlunit.javascript.host.fetch.Headers.HeadersIterator
- All Implemented Interfaces:
Serializable,org.htmlunit.corejs.javascript.ConstProperties<org.htmlunit.corejs.javascript.Scriptable>,org.htmlunit.corejs.javascript.debug.DebuggableObject,org.htmlunit.corejs.javascript.PropHolder<org.htmlunit.corejs.javascript.Scriptable>,org.htmlunit.corejs.javascript.Scriptable,org.htmlunit.corejs.javascript.SymbolScriptable
- Enclosing class:
- Headers
public static final class Headers.HeadersIterator
extends org.htmlunit.corejs.javascript.ES6Iterator
ES6Iterator implementation for the iterators of Headers.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.htmlunit.corejs.javascript.ScriptableObject
org.htmlunit.corejs.javascript.ScriptableObject.DescriptorInfo, org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator, org.htmlunit.corejs.javascript.ScriptableObject.LambdaGetterFunction, org.htmlunit.corejs.javascript.ScriptableObject.LambdaSetterFunction -
Field Summary
Fields inherited from class org.htmlunit.corejs.javascript.ES6Iterator
DONE_PROPERTY, exhausted, NEXT_METHOD, RETURN_METHOD, RETURN_PROPERTY, VALUE_PROPERTYFields inherited from class org.htmlunit.corejs.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, LEGACY_CONST, PERMANENT, READONLY, STRICTLY_READONLY, UNINITIALIZED_CONSTFields inherited from class org.htmlunit.corejs.javascript.SlotMapOwner
isSealedFields inherited from interface org.htmlunit.corejs.javascript.Scriptable
NOT_FOUND -
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty instance (used for the prototype initialization). -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinit(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.TopLevel scope) Initializes the iterator prototype.protected booleanisDone(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope) protected ObjectnextValue(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope) Methods inherited from class org.htmlunit.corejs.javascript.ES6Iterator
getTag, initialize, makeDescriptor, nextMethods inherited from class org.htmlunit.corejs.javascript.ScriptableObject
applyDescriptorToAttributeBitset, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkNotSealed, checkPropertyChangeForSlot, checkPropertyChangeForSlot, checkPropertyDefinition, checkPropertyDefinition, checkSlotRemoval, defineBuiltinProperty, defineBuiltinProperty, defineBuiltInProperty, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureScriptableObjectButNotSymbol, ensureSymbolScriptable, ensureType, equivalentValues, get, get, getAllIds, getAncestor, getArrayPrototype, getClassPrototype, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSuperProperty, getSuperProperty, getSuperProperty, getThis, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasInstance, hasProperty, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGenericDescriptor, isGetterOrSetter, isGetterOrSetter, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putConstProperty, putOwnProperty, putOwnProperty, putOwnProperty, putProperty, putProperty, putProperty, putProperty, putSuperProperty, putSuperProperty, putSuperProperty, querySlot, redefineProperty, redefineProperty, sameValue, sealObject, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizeMethods inherited from class org.htmlunit.corejs.javascript.SlotMapOwner
associateValue, checkNotSealed, copyAssociatedValue, createSlotMap, createSlotMap, defineProperty, defineProperty, get, get, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getIds, has, has, isSealed, readMaps, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, writeMapsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.htmlunit.corejs.javascript.Scriptable
get, get, getIds, has, hasMethods inherited from interface org.htmlunit.corejs.javascript.SymbolScriptable
get, has
-
Constructor Details
-
HeadersIterator
public HeadersIterator()Creates an empty instance (used for the prototype initialization).
-
-
Method Details
-
init
public static void init(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.TopLevel scope) Initializes the iterator prototype.- Parameters:
cx- theContextscope- the scope
-
getClassName
- Specified by:
getClassNamein interfaceorg.htmlunit.corejs.javascript.Scriptable- Specified by:
getClassNamein classorg.htmlunit.corejs.javascript.ScriptableObject
-
isDone
protected boolean isDone(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope) - Specified by:
isDonein classorg.htmlunit.corejs.javascript.ES6Iterator
-
nextValue
protected Object nextValue(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope) - Specified by:
nextValuein classorg.htmlunit.corejs.javascript.ES6Iterator
-