org.hibernate.search.elasticsearch.client.impl

## Class URLEncodedString

- java.lang.Object
- - org.hibernate.search.elasticsearch.client.impl.URLEncodedString

-     public final class URLEncodedString
      extends Object

  To avoid re-encoding strings into URLs we have several opportunities to reuse them and compose them more efficiently.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `String` | `encoded`
    `String` | `original`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `static URLEncodedString` | `fromJSon(com.google.gson.JsonElement jsonElement)`
    `static URLEncodedString` | `fromString(String string)`
    `int` | `hashCode()`
    `String` | `toString()`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### encoded

          public final String encoded

    - #### original

          public final String original

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### fromString

          public static URLEncodedString fromString(String string)

    - #### fromJSon

          public static URLEncodedString fromJSon(com.google.gson.JsonElement jsonElement)

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved