Package io.qt.network

Class QNetworkRequestFactory

java.lang.Object
io.qt.QtObject
io.qt.network.QNetworkRequestFactory
All Implemented Interfaces:
QtObjectInterface, Cloneable

public class QNetworkRequestFactory extends QtObject implements Cloneable

Java wrapper for Qt class QNetworkRequestFactory

  • Constructor Details

    • QNetworkRequestFactory

      public QNetworkRequestFactory()

      See QNetworkRequestFactory::QNetworkRequestFactory()

    • QNetworkRequestFactory

      public QNetworkRequestFactory(QNetworkRequestFactory other)

      See QNetworkRequestFactory::QNetworkRequestFactory(QNetworkRequestFactory)

      Parameters:
      other -
    • QNetworkRequestFactory

      public QNetworkRequestFactory(QUrl baseUrl)

      See QNetworkRequestFactory::QNetworkRequestFactory(QUrl)

      Parameters:
      baseUrl -
    • QNetworkRequestFactory

      public QNetworkRequestFactory(String baseUrl)

      Overloaded constructor for QNetworkRequestFactory(io.qt.core.QUrl).

  • Method Details

    • baseUrl

      @QtUninvokable public final QUrl baseUrl()

      See QNetworkRequestFactory::baseUrl()const

      Returns:
    • bearerToken

      @QtUninvokable public final QByteArray bearerToken()

      See QNetworkRequestFactory::bearerToken()const

      Returns:
    • clearBearerToken

      @QtUninvokable public final void clearBearerToken()

      See QNetworkRequestFactory::clearBearerToken()

    • clearCommonHeaders

      @QtUninvokable public final void clearCommonHeaders()

      See QNetworkRequestFactory::clearCommonHeaders()

    • clearPassword

      @QtUninvokable public final void clearPassword()

      See QNetworkRequestFactory::clearPassword()

    • clearQueryParameters

      @QtUninvokable public final void clearQueryParameters()

      See QNetworkRequestFactory::clearQueryParameters()

    • clearUserName

      @QtUninvokable public final void clearUserName()

      See QNetworkRequestFactory::clearUserName()

    • commonHeaders

      @QtUninvokable public final QHttpHeaders commonHeaders()

      See QNetworkRequestFactory::commonHeaders()const

      Returns:
    • createRequest

      @QtUninvokable public final QNetworkRequest createRequest()

      See QNetworkRequestFactory::createRequest()const

      Returns:
    • createRequest

      @QtUninvokable public final QNetworkRequest createRequest(String path)

      See QNetworkRequestFactory::createRequest(QString)const

      Parameters:
      path -
      Returns:
    • createRequest

      @QtUninvokable public final QNetworkRequest createRequest(String path, QUrlQuery query)

      See QNetworkRequestFactory::createRequest(QString,QUrlQuery)const

      Parameters:
      path -
      query -
      Returns:
    • createRequest

      @QtUninvokable public final QNetworkRequest createRequest(QUrlQuery query)

      See QNetworkRequestFactory::createRequest(QUrlQuery)const

      Parameters:
      query -
      Returns:
    • assign

      @QtUninvokable public final void assign(QNetworkRequestFactory other)

      See QNetworkRequestFactory::operator=(QNetworkRequestFactory)

      Parameters:
      other -
    • password

      @QtUninvokable public final String password()

      See QNetworkRequestFactory::password()const

      Returns:
    • queryParameters

      @QtUninvokable public final QUrlQuery queryParameters()

      See QNetworkRequestFactory::queryParameters()const

      Returns:
    • setBaseUrl

      @QtUninvokable public final void setBaseUrl(QUrl url)

      See QNetworkRequestFactory::setBaseUrl(QUrl)

      Parameters:
      url -
    • setBearerToken

      @QtUninvokable public final void setBearerToken(QByteArray token)

      See QNetworkRequestFactory::setBearerToken(QByteArray)

      Parameters:
      token -
    • setCommonHeaders

      @QtUninvokable public final void setCommonHeaders(QHttpHeaders headers)

      See QNetworkRequestFactory::setCommonHeaders(QHttpHeaders)

      Parameters:
      headers -
    • setPassword

      @QtUninvokable public final void setPassword(String password)

      See QNetworkRequestFactory::setPassword(QString)

      Parameters:
      password -
    • setQueryParameters

      @QtUninvokable public final void setQueryParameters(QUrlQuery query)

      See QNetworkRequestFactory::setQueryParameters(QUrlQuery)

      Parameters:
      query -
    • setSslConfiguration

      @QtUninvokable public final void setSslConfiguration(QSslConfiguration configuration)

      See QNetworkRequestFactory::setSslConfiguration(QSslConfiguration)

      Parameters:
      configuration -
    • setTransferTimeout

      @QtUninvokable public final void setTransferTimeout(TemporalAmount timeout)

      See QNetworkRequestFactory::setTransferTimeout(std::chrono::milliseconds)

      Parameters:
      timeout -
    • setUserName

      @QtUninvokable public final void setUserName(String userName)

      See QNetworkRequestFactory::setUserName(QString)

      Parameters:
      userName -
    • sslConfiguration

      @QtUninvokable public final QSslConfiguration sslConfiguration()

      See QNetworkRequestFactory::sslConfiguration()const

      Returns:
    • swap

      @QtUninvokable public final void swap(QNetworkRequestFactory other)

      See QNetworkRequestFactory::swap(QNetworkRequestFactory&)

      Parameters:
      other -
    • transferTimeout

      @QtUninvokable public final Duration transferTimeout()

      See QNetworkRequestFactory::transferTimeout()const

      Returns:
    • userName

      @QtUninvokable public final String userName()

      See QNetworkRequestFactory::userName()const

      Returns:
    • toString

      @QtUninvokable public String toString()

      See operator<<(QDebug,QNetworkRequestFactory)

      Overrides:
      toString in class Object
    • clone

      Creates and returns a copy of this object.

      See QNetworkRequestFactory::QNetworkRequestFactory(QNetworkRequestFactory)

      Overrides:
      clone in class Object
    • setBaseUrl

      @QtUninvokable public final void setBaseUrl(String url)

      Overloaded function for setBaseUrl(io.qt.core.QUrl).

    • setBearerToken

      @QtUninvokable public final void setBearerToken(byte [] token)

      Overloaded function for setBearerToken(io.qt.core.QByteArray).