Class HttpResource
java.lang.Object
org.apache.camel.quarkus.component.http.common.AbstractHttpResource
org.apache.camel.quarkus.component.http.http.HttpResource
@Path("/test/client/http")
@ApplicationScoped
public class HttpResource
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.Responsejakarta.json.JsonObjectgetSendDynamic(int port) jakarta.ws.rs.core.ResponsehttpBasicAuthCache(int port) httpGet(int port) (package private) org.apache.camel.RoutesBuilderMethods inherited from class org.apache.camel.quarkus.component.http.common.AbstractHttpResource
basicAuth, httpsGet
-
Constructor Details
-
HttpResource
public HttpResource()
-
-
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
-
httpBasicAuthCache
@Path("/auth/basic/cache") @GET @Produces("text/plain") public jakarta.ws.rs.core.Response httpBasicAuthCache(@QueryParam("test-port") int port) -
httpProxy
- Specified by:
httpProxyin classAbstractHttpResource
-
getSendDynamic
@Path("/send-dynamic") @GET @Produces("application/json") public String getSendDynamic(@QueryParam("test-port") int port) -
get
-
sendDynamicRoutes
@ApplicationScoped org.apache.camel.RoutesBuilder sendDynamicRoutes() -
operationFailedException
@Path("/operation/failed/exception") @GET @Produces("text/plain") public String operationFailedException() -
compression
-