API request: Adding WebEngine.userAgent

Werner Lehmann lehmann at media-interactive.de
Wed Oct 31 09:22:35 PDT 2012


Makes sense. I suggest to use a different defaultValue though ;-)

On 31.10.2012 17:11, Peter Zhelezniakov wrote:
> The new methods will read:
>
> class javafx.scene.web.WebEngine {
>      /**
>       * Specifies user agent ID string. This string is the value of the
>       * {@code User-Agent} HTTP header.
>       *
>       * @defaultValue true
>       * @since 8.0
>       */
>      public final void setUserAgent(String value);
>      public final String getUserAgent();
>      public final StringProperty userAgentProperty();
> }


More information about the openjfx-dev mailing list