forked from vert-x3/vertx-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2fb9b96
commit 1f39d81
Showing
19 changed files
with
316 additions
and
57 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
...test/generated/io/vertx/groovy/serviceproxy/testmodel/TestConnection_GroovyExtension.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.vertx.groovy.serviceproxy.testmodel; | ||
public class TestConnection_GroovyExtension { | ||
public static io.vertx.serviceproxy.testmodel.TestConnection insert(io.vertx.serviceproxy.testmodel.TestConnection j_receiver, java.lang.String name, java.util.Map<String, Object> data, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.String>> resultHandler) { | ||
io.vertx.lang.groovy.ConversionHelper.wrap(j_receiver.insert(name, | ||
data != null ? io.vertx.lang.groovy.ConversionHelper.toJsonObject(data) : null, | ||
resultHandler != null ? new io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.String>>() { | ||
public void handle(io.vertx.core.AsyncResult<java.lang.String> ar) { | ||
resultHandler.handle(ar.map(event -> event)); | ||
} | ||
} : null)); | ||
return j_receiver; | ||
} | ||
} |
149 changes: 149 additions & 0 deletions
149
...rc/test/generated/io/vertx/groovy/serviceproxy/testmodel/TestService_GroovyExtension.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
6 changes: 3 additions & 3 deletions
6
...ce-proxy/src/test/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
moduleName = test-module | ||
moduleName = io.vertx.serviceproxy.testmodel.TestService-module | ||
moduleVersion = 1.0 | ||
extensionClasses = io.vertx.groovy.serviceproxy.testmodel.GroovyExtension | ||
staticExtensionClasses = io.vertx.groovy.serviceproxy.testmodel.GroovyStaticExtension | ||
extensionClasses = io.vertx.groovy.serviceproxy.testmodel.TestConnection_GroovyExtension, io.vertx.groovy.serviceproxy.testmodel.TestService_GroovyExtension | ||
staticExtensionClasses = |
4 changes: 4 additions & 0 deletions
4
...eemarker/src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule
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,4 @@ | ||
moduleName = io.vertx.ext.web.templ.FreeMarkerTemplateEngine-module | ||
moduleVersion = 1.0 | ||
extensionClasses = | ||
staticExtensionClasses = |
4 changes: 4 additions & 0 deletions
4
...ndlebars/src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule
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,4 @@ | ||
moduleName = io.vertx.ext.web.templ.HandlebarsTemplateEngine-module | ||
moduleVersion = 1.0 | ||
extensionClasses = | ||
staticExtensionClasses = |
4 changes: 4 additions & 0 deletions
4
...mpl-jade/src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule
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,4 @@ | ||
moduleName = io.vertx.ext.web.templ.JadeTemplateEngine-module | ||
moduleVersion = 1.0 | ||
extensionClasses = | ||
staticExtensionClasses = |
4 changes: 4 additions & 0 deletions
4
...mpl-mvel/src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule
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,4 @@ | ||
moduleName = io.vertx.ext.web.templ.MVELTemplateEngine-module | ||
moduleVersion = 1.0 | ||
extensionClasses = | ||
staticExtensionClasses = |
4 changes: 4 additions & 0 deletions
4
...l-pebble/src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule
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,4 @@ | ||
moduleName = io.vertx.ext.web.templ.PebbleTemplateEngine-module | ||
moduleVersion = 1.0 | ||
extensionClasses = | ||
staticExtensionClasses = |
4 changes: 4 additions & 0 deletions
4
...hymeleaf/src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule
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,4 @@ | ||
moduleName = io.vertx.ext.web.templ.ThymeleafTemplateEngine-module | ||
moduleVersion = 1.0 | ||
extensionClasses = | ||
staticExtensionClasses = |
6 changes: 3 additions & 3 deletions
6
...b-client/src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
moduleName = vertx-web-client-module | ||
moduleName = io.vertx.ext.web.client.WebClient-module | ||
moduleVersion = 1.0 | ||
extensionClasses = io.vertx.groovy.ext.web.client.GroovyExtension | ||
staticExtensionClasses = io.vertx.groovy.ext.web.client.GroovyStaticExtension | ||
extensionClasses = io.vertx.groovy.ext.web.client.HttpRequest_GroovyExtension, io.vertx.groovy.ext.web.client.HttpResponse_GroovyExtension | ||
staticExtensionClasses = |
6 changes: 3 additions & 3 deletions
6
...b-common/src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
moduleName = vertx-web-common-module | ||
moduleName = io.vertx.ext.web.codec.BodyCodec-module | ||
moduleVersion = 1.0 | ||
extensionClasses = io.vertx.groovy.ext.web.GroovyExtension | ||
staticExtensionClasses = io.vertx.groovy.ext.web.GroovyStaticExtension | ||
extensionClasses = | ||
staticExtensionClasses = io.vertx.groovy.ext.web.codec.BodyCodec_GroovyStaticExtension |
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
54 changes: 44 additions & 10 deletions
54
vertx-web/src/main/kotlin/io/vertx/kotlin/ext/web/handler/sockjs/BridgeOptions.kt
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 |
---|---|---|
@@ -1,28 +1,62 @@ | ||
package io.vertx.kotlin.ext.web.handler.sockjs | ||
|
||
import io.vertx.ext.web.handler.sockjs.BridgeOptions | ||
|
||
import io.vertx.ext.web.handler.sockjs.PermittedOptions | ||
|
||
/** | ||
* A function providing a DSL for building [io.vertx.ext.web.handler.sockjs.BridgeOptions] objects. | ||
* | ||
* Options for configuring the event bus bridge. | ||
* | ||
* @param inboundPermitted | ||
* @param inboundPermitteds | ||
* @param maxAddressLength | ||
* @param maxHandlersPerSocket | ||
* @param outboundPermitted | ||
* @param outboundPermitteds | ||
* @param pingTimeout | ||
* @param replyTimeout | ||
* | ||
* <p/> | ||
* NOTE: This function has been automatically generated from the [io.vertx.ext.web.handler.sockjs.BridgeOptions original] using Vert.x codegen. | ||
*/ | ||
fun BridgeOptions( | ||
maxAddressLength: Int? = null, | ||
inboundPermitted: List<io.vertx.ext.web.handler.sockjs.PermittedOptions>? = null, | ||
inboundPermitteds: List<io.vertx.ext.web.handler.sockjs.PermittedOptions>? = null, | ||
maxAddressLength: Int? = null, | ||
maxHandlersPerSocket: Int? = null, | ||
outboundPermitted: List<io.vertx.ext.web.handler.sockjs.PermittedOptions>? = null, | ||
outboundPermitteds: List<io.vertx.ext.web.handler.sockjs.PermittedOptions>? = null, | ||
pingTimeout: Long? = null, | ||
replyTimeout: Long? = null): BridgeOptions = io.vertx.ext.web.handler.sockjs.BridgeOptions().apply { | ||
|
||
if (inboundPermitted != null) { | ||
this.setInboundPermitted(inboundPermitted) | ||
} | ||
if (inboundPermitteds != null) { | ||
for (item in inboundPermitteds) { | ||
this.addInboundPermitted(item) | ||
} | ||
} | ||
if (maxAddressLength != null) { | ||
this.maxAddressLength = maxAddressLength | ||
this.setMaxAddressLength(maxAddressLength) | ||
} | ||
|
||
if (maxHandlersPerSocket != null) { | ||
this.maxHandlersPerSocket = maxHandlersPerSocket | ||
this.setMaxHandlersPerSocket(maxHandlersPerSocket) | ||
} | ||
if (outboundPermitted != null) { | ||
this.setOutboundPermitted(outboundPermitted) | ||
} | ||
if (outboundPermitteds != null) { | ||
for (item in outboundPermitteds) { | ||
this.addOutboundPermitted(item) | ||
} | ||
} | ||
|
||
if (pingTimeout != null) { | ||
this.pingTimeout = pingTimeout | ||
this.setPingTimeout(pingTimeout) | ||
} | ||
|
||
if (replyTimeout != null) { | ||
this.replyTimeout = replyTimeout | ||
this.setReplyTimeout(replyTimeout) | ||
} | ||
|
||
} | ||
|
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
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
6 changes: 3 additions & 3 deletions
6
vertx-web/src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
moduleName = vertx-web-module | ||
moduleName = io.vertx.ext.web.handler.VirtualHostHandler-module | ||
moduleVersion = 1.0 | ||
extensionClasses = io.vertx.groovy.ext.web.GroovyExtension | ||
staticExtensionClasses = io.vertx.groovy.ext.web.GroovyStaticExtension | ||
extensionClasses = io.vertx.groovy.ext.web.handler.sockjs.BridgeEvent_GroovyExtension, io.vertx.groovy.ext.web.handler.OAuth2AuthHandler_GroovyExtension, io.vertx.groovy.ext.web.RoutingContext_GroovyExtension, io.vertx.groovy.ext.web.Session_GroovyExtension, io.vertx.groovy.ext.web.handler.sockjs.SockJSHandler_GroovyExtension | ||
staticExtensionClasses = io.vertx.groovy.ext.web.handler.sockjs.SockJSHandler_GroovyStaticExtension |
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
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