-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to always require a socket
I have a use case the combines both virtual dispatch and standard HTTP, this lets extensions support both. (cherry picked from commit 6750fe6)
- Loading branch information
1 parent
ebcc9c7
commit 2109207
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
...deployment/src/main/java/io/quarkus/vertx/http/deployment/RequireSocketHttpBuildItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package io.quarkus.vertx.http.deployment; | ||
|
||
import io.quarkus.builder.item.SimpleBuildItem; | ||
|
||
/** | ||
* Marker class that can be used to force the socket to open even when using virtual HTTP. | ||
* | ||
* There are some use cases that may want to handle both real and virtual HTTP requests, such as mapping incoming | ||
* gRPC requests onto JAX-RS handlers. | ||
*/ | ||
public final class RequireSocketHttpBuildItem extends SimpleBuildItem { | ||
public static final RequireSocketHttpBuildItem MARKER = new RequireSocketHttpBuildItem(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters