org.apache.struts2.views.gxp

## Class AbstractGxpResult.DefaultProvider

- java.lang.Object
- - org.apache.struts2.views.gxp.AbstractGxpResult.DefaultProvider

- All Implemented Interfaces:
    AbstractGxpResult.GxpResourceProvider
  Enclosing class:
    AbstractGxpResult

      protected static class AbstractGxpResult.DefaultProvider
      extends Object
      implements AbstractGxpResult.GxpResourceProvider

  Uses reasonable defaults to provide resources.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultProvider(String contentType)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Locale` | `getLocale()`
    `Writer` | `getWriter()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultProvider

          public DefaultProvider(String contentType)

  - ### Method Detail

    - #### getWriter

          public Writer getWriter()
                           throws IOException

      Specified by:
        `getWriter` in interface `AbstractGxpResult.GxpResourceProvider`
      Throws:
        `IOException`

    - #### getLocale

          public Locale getLocale()

      Specified by:
        `getLocale` in interface `AbstractGxpResult.GxpResourceProvider`

Copyright © 2000–2023 Apache Software Foundation. All rights reserved.