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
-
Field Summary
Fields inherited from class org.apache.camel.quarkus.component.http.common.AbstractHttpResource
consumerTemplate, producerTemplate, PROXIED_URL, USER_ADMIN, USER_ADMIN_PASSWORD, USER_NO_ADMIN, USER_NO_ADMIN_PASSWORD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsehttpGet(int port) byte[]vertxBufferConversionWithCharset(String string, String charset) vertxHttpCustomVertxOptions(int port) vertxHttpMultipartFormData(int port) vertxHttpMultipartFormParams(int port, String organization, String project) vertxHttpSerializedException(int port) vertxHttpSessionManagement(int port) Methods inherited from class org.apache.camel.quarkus.component.http.common.AbstractHttpResource
basicAuth, httpsGet
-
Constructor Details
-
VertxResource
public VertxResource()
-
-
Method Details
-
httpGet
- Specified by:
httpGetin classAbstractHttpResource
-
httpPost
@Path("/post") @POST @Consumes("text/plain") @Produces("text/plain") public String httpPost(@QueryParam("test-port") int port, String message) - Specified by:
httpPostin classAbstractHttpResource
-
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:
basicAuthin classAbstractHttpResource
-
httpProxy
- Specified by:
httpProxyin classAbstractHttpResource
-
compression
-
vertxHttpSerializedException
@Path("/serialized/exception") @GET @Produces("text/plain") public String vertxHttpSerializedException(@QueryParam("test-port") int port) -
vertxHttpMultipartFormParams
-
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
-