# Class CalendarHttpRequest

java.lang.Object
com.codename1.calendar.CalendarHttpRequest

public final class CalendarHttpRequest extends Object
Provider HTTP request. Public so applications and tests may inject a transport.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CalendarHttpRequest(String method, String url)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getBody()`
  `Map<String,String>`
  `getHeaders()`
  `String`
  `getMethod()`
  `String`
  `getUrl()`
  `CalendarHttpRequest`
  `header(String k, String v)`
  `CalendarHttpRequest`
  `setBody(String v)`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### CalendarHttpRequest

    public CalendarHttpRequest(String method, String url)

- ## Method Details

  - ### getMethod

    public String getMethod()

  - ### getUrl

    public String getUrl()

  - ### getBody

    public String getBody()

  - ### setBody

    public CalendarHttpRequest setBody(String v)

  - ### header

    public CalendarHttpRequest header(String k, String v)

  - ### getHeaders

    public Map<String,String> getHeaders()