title: Set a cookie in restlet
body: <p>I'm having a heck of a time setting a cookie in restlet, heres what I have so far::</p>
  
  <pre><code>public class CookieTestResource extends ServerResource {
  
      @Post
      public Representation post(Representation representation){
          CookieSetting cS = new CookieSetting(
                  1, 
                  "cookieName", 
                  "cookieValue"
                  );
          Series&lt;CookieSetting&gt; cookies = new Series&lt;CookieSetting&gt;(); //&lt;--PROBLEM
          cookies.add(cS);
          this.setCookieSettings(cookies);
          // SEND RESPONSE
          setStatus(Status.SUCCESS_OK);
          return new StringRepresentation("");
      }
  }
  </code></pre>
  
  <p>The problem that I'm having now is that I can't instantiate a class of type "org.restlet.util.Series" and I can't find any subclasses that I can instantiate.  This seems like a dumb problem. but I have no idea what to do.  Additionally, I seem to hit this kind of problem with Restlets a lot.  Often I can't figure out how to use this tool from the API's and when I search for examples, I find none.  Is there some other way I should be referencing documentation on Restlets?</p>