Skip to content
Success

Changes

Summary

  1. Pass the Server Address, Server Port, and UserProperties to Session. (#776) (details)
Commit 084f6238572124870bc62a9ecee0105bc38b3bcc by noreply
Pass the Server Address, Server Port, and UserProperties to Session. (#776)

* Pass the Server Address, Server Port, and UserProperties to Session.
Update Session#getRequestURI to contain protocol, hostname, and port
Update Session#getUserProperties to contain ServerEndpointConfig#getUserProperties
Make ServerEndpointConfig#getUserProperties possibly copied not to modify the properties between two modifyHandshakes

Signed-off-by: jansupol <jan.supol@oracle.com>
The file was modified core/src/main/java/org/glassfish/tyrus/core/RequestContext.java (diff)
The file was modified containers/servlet/src/main/java/org/glassfish/tyrus/servlet/TyrusServletUpgrade.java (diff)
The file was modified core/src/test/java/org/glassfish/tyrus/core/TyrusRemoteEndpointTest.java (diff)
The file was addedtests/e2e/standard-config/src/test/java/org/glassfish/tyrus/test/standard_config/userproperties/ConcurrencyUserPropertiesConfigurator.java
The file was modified tests/e2e/standard-config/pom.xml (diff)
The file was addedtests/e2e/standard-config/src/test/java/org/glassfish/tyrus/test/standard_config/userproperties/UserPropertiesApplication.java
The file was addedcore/src/main/java/org/glassfish/tyrus/core/ServerEndpointConfigWrapper.java
The file was addedtests/e2e/standard-config/src/test/java/org/glassfish/tyrus/test/standard_config/userproperties/WSProgramaticUserPropertiesServer.java
The file was modified tests/e2e/standard-config/src/test/java/module-info.java (diff)
The file was addedtests/e2e/standard-config/src/test/java/org/glassfish/tyrus/test/standard_config/userproperties/UserPropertiesConfigurator.java
The file was addedtests/e2e/standard-config/src/test/java/org/glassfish/tyrus/test/standard_config/userproperties/ConcurrencyUserPropertiesServer.java
The file was modified core/src/test/java/org/glassfish/tyrus/core/WriterInfoTest.java (diff)
The file was modified containers/servlet/src/main/java/org/glassfish/tyrus/servlet/TyrusServletContainerInitializer.java (diff)
The file was modified core/src/main/java/org/glassfish/tyrus/core/DefaultTyrusServerEndpointConfig.java (diff)
The file was modified containers/grizzly-server/src/main/java/org/glassfish/tyrus/container/grizzly/server/GrizzlyServerFilter.java (diff)
The file was modified core/src/main/resources/org/glassfish/tyrus/core/l10n/localization.properties (diff)
The file was modified core/src/test/java/org/glassfish/tyrus/core/TyrusSessionTest.java (diff)
The file was addedtests/e2e/standard-config/src/test/java/org/glassfish/tyrus/test/standard_config/userproperties/ConcurrencyUserPropertiesConfig.java
The file was addedtests/e2e/standard-config/src/test/java/org/glassfish/tyrus/test/standard_config/userproperties/UserPropertiesTest.java
The file was addedcore/src/main/java/org/glassfish/tyrus/core/TyrusConfiguration.java
The file was modified core/src/main/java/org/glassfish/tyrus/core/TyrusSession.java (diff)
The file was modified tests/servlet/basic/src/test/java/org/glassfish/tyrus/tests/servlet/basic/ServletTestBase.java (diff)
The file was addedtests/e2e/standard-config/src/test/java/org/glassfish/tyrus/test/standard_config/userproperties/UserPropertiesServerEndpointConfig.java
The file was modified containers/grizzly-server/src/main/java/org/glassfish/tyrus/container/grizzly/server/GrizzlyServerContainer.java (diff)
The file was modified core/src/main/java/org/glassfish/tyrus/core/TyrusEndpointWrapper.java (diff)