- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Class for holding HTTP headers
Java wrapper for Qt class QHttpHeaders
This class was introduced in Qt 6.7.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQHttpHeaders::WellKnownHeader
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
append
(QHttpHeaders.WellKnownHeader name, String value) final boolean
final void
assign
(QHttpHeaders other) final void
clear()
clone()
Creates and returns a copy of this object.final QByteArray
final QByteArray
combinedValue
(String name) final boolean
final boolean
final boolean
equals
(QHttpHeaders v2) Seeoperator==(QHttpHeaders,
QHttpHeaders) boolean
Seeoperator==(QHttpHeaders,
QHttpHeaders) static QHttpHeaders
fromListOfPairs
(Collection<? extends QPair<QByteArray, QByteArray>> headers) static QHttpHeaders
fromMultiHash
(Map<? extends QByteArray, ? extends List<? extends QByteArray>> headers) static QHttpHeaders
fromMultiMap
(Map<? extends QByteArray, ? extends List<? extends QByteArray>> headers) int
hashCode()
Returns the objects's hash code computed byqHash(QHttpHeaders)
.final boolean
insert
(long i, QHttpHeaders.WellKnownHeader name, String value) final boolean
final boolean
isEmpty()
final String
nameAt
(long i) final void
final void
final void
removeAt
(long i) final boolean
replace
(long i, QHttpHeaders.WellKnownHeader name, String newValue) final boolean
final void
reserve
(long size) final long
size()
final void
swap
(QHttpHeaders other) final QList<QPair<QByteArray,
QByteArray>> final QMultiHash<QByteArray,
QByteArray> final QMultiMap<QByteArray,
QByteArray> toString()
Seeoperator<<(QDebug,
QHttpHeaders) final QByteArrayView
Overloaded function forvalue(io.qt.network.QHttpHeaders.WellKnownHeader, io.qt.core.QByteArrayView)
withdefaultValue = new io.qt.core.QByteArrayView()
.final QByteArrayView
value
(QHttpHeaders.WellKnownHeader name, byte [] defaultValue) Overloaded function forvalue(io.qt.network.QHttpHeaders.WellKnownHeader, io.qt.core.QByteArrayView)
.final QByteArrayView
value
(QHttpHeaders.WellKnownHeader name, QByteArray defaultValue) Overloaded function forvalue(io.qt.network.QHttpHeaders.WellKnownHeader, io.qt.core.QByteArrayView)
.final QByteArrayView
value
(QHttpHeaders.WellKnownHeader name, QByteArrayView defaultValue) final QByteArrayView
value
(QHttpHeaders.WellKnownHeader name, ByteBuffer defaultValue) Overloaded function forvalue(io.qt.network.QHttpHeaders.WellKnownHeader, io.qt.core.QByteArrayView)
.final QByteArrayView
Overloaded function forvalue(java.lang.String, io.qt.core.QByteArrayView)
withdefaultValue = new io.qt.core.QByteArrayView()
.final QByteArrayView
Overloaded function forvalue(java.lang.String, io.qt.core.QByteArrayView)
.final QByteArrayView
value
(String name, QByteArray defaultValue) Overloaded function forvalue(java.lang.String, io.qt.core.QByteArrayView)
.final QByteArrayView
value
(String name, QByteArrayView defaultValue) final QByteArrayView
value
(String name, ByteBuffer defaultValue) Overloaded function forvalue(java.lang.String, io.qt.core.QByteArrayView)
.final QByteArrayView
valueAt
(long i) final QList<QByteArray>
final QList<QByteArray>
static QByteArrayView
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QHttpHeaders
public QHttpHeaders() -
QHttpHeaders
-
-
Method Details
-
append
-
append
-
clear
-
combinedValue
-
combinedValue
-
contains
-
contains
-
insert
-
insert
-
isEmpty
-
nameAt
-
assign
-
equals
See
operator==(QHttpHeaders,
QHttpHeaders) -
removeAll
-
removeAll
-
removeAt
-
replace
-
replace
@QtUninvokable public final boolean replace(long i, QHttpHeaders.WellKnownHeader name, String newValue) -
reserve
-
size
-
swap
-
toListOfPairs
-
toMultiHash
-
toMultiMap
-
value
-
value
@QtUninvokable public final QByteArrayView value(QHttpHeaders.WellKnownHeader name, QByteArrayView defaultValue) -
valueAt
-
values
-
values
-
fromListOfPairs
public static QHttpHeaders fromListOfPairs(Collection<? extends QPair<QByteArray, QByteArray>> headers) -
fromMultiHash
public static QHttpHeaders fromMultiHash(Map<? extends QByteArray, ? extends List<? extends QByteArray>> headers) -
fromMultiMap
public static QHttpHeaders fromMultiMap(Map<? extends QByteArray, ? extends List<? extends QByteArray>> headers) -
wellKnownHeaderName
-
equals
See
operator==(QHttpHeaders,
QHttpHeaders) -
hashCode
Returns the objects's hash code computed byqHash(QHttpHeaders)
. -
toString
See
operator<<(QDebug,
QHttpHeaders) -
clone
Creates and returns a copy of this object.
-
value
Overloaded function for
value(java.lang.String, io.qt.core.QByteArrayView)
withdefaultValue = new io.qt.core.QByteArrayView()
. -
value
Overloaded function for
value(java.lang.String, io.qt.core.QByteArrayView)
. -
value
Overloaded function for
value(java.lang.String, io.qt.core.QByteArrayView)
. -
value
Overloaded function for
value(java.lang.String, io.qt.core.QByteArrayView)
. -
value
Overloaded function for
value(io.qt.network.QHttpHeaders.WellKnownHeader, io.qt.core.QByteArrayView)
withdefaultValue = new io.qt.core.QByteArrayView()
. -
value
@QtUninvokable public final QByteArrayView value(QHttpHeaders.WellKnownHeader name, QByteArray defaultValue) Overloaded function for
value(io.qt.network.QHttpHeaders.WellKnownHeader, io.qt.core.QByteArrayView)
. -
value
@QtUninvokable public final QByteArrayView value(QHttpHeaders.WellKnownHeader name, ByteBuffer defaultValue) Overloaded function for
value(io.qt.network.QHttpHeaders.WellKnownHeader, io.qt.core.QByteArrayView)
. -
value
@QtUninvokable public final QByteArrayView value(QHttpHeaders.WellKnownHeader name, byte [] defaultValue) Overloaded function for
value(io.qt.network.QHttpHeaders.WellKnownHeader, io.qt.core.QByteArrayView)
.
-