> +import javax.ws.rs.Produces; > +import javax.ws.rs.core.MediaType; > + > +/** > + * Provides synchronous access to Network operations on the openstack > Neutron API. > + * <p/> > + * Each tenant can define one or more networks. A network is a virtual > isolated layer-2 broadcast domain reserved to the > + * tenant. A tenant can create several ports for a network, and plug virtual > interfaces into these ports. > + * > + * @see <a href= > + * > "http://docs.openstack.org/api/openstack-network/2.0/content/Networks.html">api > doc</a> > + */ > +@Path("/v2.0/networks") > +@RequestFilters(AuthenticateRequest.class) > +@Consumes(MediaType.APPLICATION_JSON) > +@Produces(MediaType.APPLICATION_JSON)
Consider moving this annotation to those methods that generate a body. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/111/files#r14011016
