Class RequiredContextResource
java.lang.Object
ee.jakarta.tck.ws.rs.spec.context.cdi.RequiredContextResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responseapplication(String propertyName) voidasync(jakarta.ws.rs.container.AsyncResponse asyncResponse) jakarta.ws.rs.core.Responsefield()jakarta.ws.rs.core.ResponsehttpHeaders(String name) method(jakarta.ws.rs.core.Application application, jakarta.ws.rs.core.UriInfo uriInfo, jakarta.ws.rs.core.Request request, jakarta.ws.rs.core.HttpHeaders httpHeaders, jakarta.ws.rs.core.SecurityContext securityContext, jakarta.ws.rs.ext.Providers providers, jakarta.ws.rs.container.ResourceContext resourceContext, jakarta.ws.rs.core.Configuration configuration, jakarta.ws.rs.container.ResourceInfo resourceInfo, jakarta.ws.rs.sse.Sse sse) jakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responserequest()jakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsejakarta.ws.rs.core.Responsesse(jakarta.ws.rs.sse.SseEventSink eventSink) jakarta.ws.rs.core.ResponseuriInfo()
-
Constructor Details
-
RequiredContextResource
public RequiredContextResource()
-
-
Method Details
-
field
-
method
@GET @Path("method") @Produces("application/json") public ContextInjectionDescriptor method(jakarta.ws.rs.core.Application application, jakarta.ws.rs.core.UriInfo uriInfo, jakarta.ws.rs.core.Request request, jakarta.ws.rs.core.HttpHeaders httpHeaders, jakarta.ws.rs.core.SecurityContext securityContext, jakarta.ws.rs.ext.Providers providers, jakarta.ws.rs.container.ResourceContext resourceContext, jakarta.ws.rs.core.Configuration configuration, jakarta.ws.rs.container.ResourceInfo resourceInfo, jakarta.ws.rs.sse.Sse sse) -
application
@GET @Path("/application/{propertyName}") @Produces("text/plain") public jakarta.ws.rs.core.Response application(@PathParam("propertyName") String propertyName) -
configuration
@GET @Path("/configuration") @Produces("text/plain") public jakarta.ws.rs.core.Response configuration() -
httpHeaders
@GET @Path("/httpHeaders/{name}") @Produces("text/plain") public jakarta.ws.rs.core.Response httpHeaders(@PathParam("name") String name) -
providers
@GET @Path("/providers") @Produces("application/json") public jakarta.ws.rs.core.Response providers() -
request
@GET @Path("/request") @Produces("text/plain") public jakarta.ws.rs.core.Response request() -
resourceContext
@GET @Path("resourceContext") @Produces("text/plain") public jakarta.ws.rs.core.Response resourceContext() -
resourceInfo
@GET @Path("resourceInfo") @Produces("text/plain") public jakarta.ws.rs.core.Response resourceInfo() -
securityContext
@GET @Path("/securityContext") @Produces("text/plain") public jakarta.ws.rs.core.Response securityContext() -
sse
@GET @Path("/sse") @Produces("text/event-stream") public CompletionStage<?> sse(jakarta.ws.rs.sse.SseEventSink eventSink) throws IOException - Throws:
IOException
-
async
@GET @Path("/async") @Produces("text/plain") public void async(jakarta.ws.rs.container.AsyncResponse asyncResponse) -
uriInfo
@GET @Path("/uriInfo") @Produces("text/plain") public jakarta.ws.rs.core.Response uriInfo()
-