## Uses of Class
javax.ws.rs.core.NewCookie

- Packages that use NewCookie
  Package | Description
  --- | ---
  javax.ws.rs.client | The JAX-RS client API
  javax.ws.rs.container | Container-specific JAX-RS API.
  javax.ws.rs.core | Low-level interfaces and annotations used to create RESTful service resources.

- - ### Uses of NewCookie in javax.ws.rs.client

    Methods in javax.ws.rs.client that return types with arguments of type NewCookie
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,NewCookie>` | ClientResponseContext.`getCookies()` Get any new cookies set on the response message.

  - ### Uses of NewCookie in javax.ws.rs.container

    Methods in javax.ws.rs.container that return types with arguments of type NewCookie
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,NewCookie>` | ContainerResponseContext.`getCookies()` Get any new cookies set on the response message.

  - ### Uses of NewCookie in javax.ws.rs.core

    Methods in javax.ws.rs.core that return NewCookie
    Modifier and Type | Method and Description
    --- | ---
    `static NewCookie` | NewCookie.`valueOf(String value)` Creates a new instance of NewCookie by parsing the supplied string.

    Methods in javax.ws.rs.core that return types with arguments of type NewCookie
    Modifier and Type | Method and Description
    --- | ---
    `abstract Map<String,NewCookie>` | Response.`getCookies()` Get any new cookies set on the response message.

    Methods in javax.ws.rs.core with parameters of type NewCookie
    Modifier and Type | Method and Description
    --- | ---
    `abstract Response.ResponseBuilder` | Response.ResponseBuilder.`cookie(NewCookie... cookies)` Add cookies to the response message.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.