Class VertxResource

java.lang.Object
org.apache.camel.quarkus.component.http.common.AbstractHttpResource
org.apache.camel.quarkus.component.http.vertx.VertxResource

@Path("/test/client/vertx-http") @ApplicationScoped public class VertxResource extends AbstractHttpResource
  • Constructor Details

    • VertxResource

      public VertxResource()
  • Method Details

    • httpGet

      @Path("/get") @GET @Produces("text/plain") public String httpGet(@QueryParam("test-port") int port)
      Specified by:
      httpGet in class AbstractHttpResource
    • httpPost

      @Path("/post") @POST @Consumes("text/plain") @Produces("text/plain") public String httpPost(@QueryParam("test-port") int port, String message)
      Specified by:
      httpPost in class AbstractHttpResource
    • basicAuth

      @Path("/auth/basic") @GET @Produces("text/plain") public jakarta.ws.rs.core.Response basicAuth(@QueryParam("test-port") int port, @QueryParam("username") String username, @QueryParam("password") String password)
      Specified by:
      basicAuth in class AbstractHttpResource
    • httpProxy

      @Path("/proxy") @GET @Produces("application/xml") public String httpProxy()
      Specified by:
      httpProxy in class AbstractHttpResource
    • compression

      @Path("/compression") @GET @Produces("text/plain") public String compression()
    • vertxHttpSerializedException

      @Path("/serialized/exception") @GET @Produces("text/plain") public String vertxHttpSerializedException(@QueryParam("test-port") int port)
    • vertxHttpMultipartFormParams

      @Path("/multipart-form-params") @GET @Produces("text/plain") public String vertxHttpMultipartFormParams(@QueryParam("test-port") int port, @QueryParam("organization") String organization, @QueryParam("project") String project)
    • vertxHttpMultipartFormData

      @Path("/multipart-form-data") @GET @Produces("text/plain") public String vertxHttpMultipartFormData(@QueryParam("test-port") int port)
    • vertxHttpCustomVertxOptions

      @Path("/custom-vertx-options") @GET @Produces("text/plain") public String vertxHttpCustomVertxOptions(@QueryParam("test-port") int port)
    • vertxHttpSessionManagement

      @Path("/session-management") @GET @Produces("text/plain") public String vertxHttpSessionManagement(@QueryParam("test-port") int port)
    • vertxBufferConversionWithCharset

      @Path("/buffer-conversion-with-charset") @GET public byte[] vertxBufferConversionWithCharset(@QueryParam("string") String string, @QueryParam("charset") String charset)