org.glassfish.jersey.examples.multipart.webapp
Class MultiPartResource

java.lang.Object
  extended by org.glassfish.jersey.examples.multipart.webapp.MultiPartResource

@Path(value="/form")
public class MultiPartResource
extends Object

Author:
Michal Gajdos (michal.gajdos at oracle.com)

Constructor Summary
MultiPartResource()
           
 
Method Summary
 String post(String s)
           
 String post(String s, FormDataContentDisposition d)
           
 String post(String s, FormDataContentDisposition sd, Bean b, FormDataContentDisposition bd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiPartResource

public MultiPartResource()
Method Detail

post

@POST
@Path(value="part")
@Consumes(value="multipart/form-data")
public String post(String s)

post

@POST
@Path(value="part-file-name")
@Consumes(value="multipart/form-data")
public String post(String s,
                                      FormDataContentDisposition d)

post

@POST
@Path(value="xml-jaxb-part")
@Consumes(value="multipart/form-data")
public String post(String s,
                                      FormDataContentDisposition sd,
                                      Bean b,
                                      FormDataContentDisposition bd)


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