Class NettyHttpResource

java.lang.Object
org.apache.camel.quarkus.component.http.common.AbstractHttpResource
org.apache.camel.quarkus.component.http.netty.NettyHttpResource

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

    • NettyHttpResource

      public NettyHttpResource()
  • 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(@QueryParam("test-port") int port) throws IOException
      Throws:
      IOException
    • nettyHttpSerializedException

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

      @GET @Path("/getRequest/{method}/{hName}/{hValue}/{body}") public String getRequest(@PathParam("method") String method, @PathParam("hName") String headerName, @PathParam("hValue") String headerValue, @PathParam("body") String body, @QueryParam("test-port") int port)
    • getResponse

      @GET @Path("/getResponse/{message}") public String getResponse(@PathParam("message") String message, @QueryParam("test-port") int port)
    • wildcard

      @GET @Path("/wildcard/{path}") public String wildcard(@PathParam("path") String path, @QueryParam("test-port") int port)
    • proxy

      @GET @Path("/consumer-proxy") public String proxy(@QueryParam("test-port") int port, @QueryParam("proxy-port") int proxyPort)
    • auth

      @GET @Path("/auth/{path}/{user}/{password}") public jakarta.ws.rs.core.Response auth(@QueryParam("test-port") int port, @PathParam("path") String path, @PathParam("user") String user, @PathParam("password") String password)
    • rest

      @GET @Path("/rest/{method}") public String rest(@QueryParam("rest-port") int port, @PathParam("method") String method)
    • restPojo

      @GET @Path("/rest/pojo/{type}") public String restPojo(@QueryParam("rest-port") int port, @PathParam("type") String type)
    • auth

      @GET @Path("/jaas/{user}/{password}") public jakarta.ws.rs.core.Response auth(@QueryParam("test-port") int port, @PathParam("user") String user, @PathParam("password") String password)