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
    `AbstractGxpResult.DefaultProvider(String contentType)`

  - ### Method Summary

    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

    - #### AbstractGxpResult.DefaultProvider

          public AbstractGxpResult.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–2022 Apache Software Foundation. All rights reserved.