org.keycloak.social.utils

## Class SimpleHttp

- java.lang.Object
- - org.keycloak.social.utils.SimpleHttp

-     public class SimpleHttp
      extends Object

  Author:
    Stian Thorgersen

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.codehaus.jackson.JsonNode` | `asJson()`
    `String` | `asString()`
    `static SimpleHttp` | `doGet(String url)`
    `static SimpleHttp` | `doPost(String url)`
    `SimpleHttp` | `header(String name, String value)`
    `SimpleHttp` | `param(String name, String value)`

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

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

- - ### Method Detail

    - #### doGet

          public static SimpleHttp doGet(String url)

    - #### doPost

          public static SimpleHttp doPost(String url)

    - #### header

          public SimpleHttp header(String name,
                          String value)

    - #### param

          public SimpleHttp param(String name,
                         String value)

    - #### asJson

          public org.codehaus.jackson.JsonNode asJson()
                                               throws IOException

      Throws:
        `IOException`

    - #### asString

          public String asString()
                          throws IOException

      Throws:
        `IOException`

Copyright © 2015. All Rights Reserved.