All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.javadoc.org.spincast.testing.defaults.AppBasedWebsocketTestingBase.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






AppBasedWebsocketTestingBase (org.spincast:spincast-framework 1.0.0 API)












org.spincast.testing.defaults

Class AppBasedWebsocketTestingBase<R extends RequestContext<?>,W extends WebsocketContext<?>>

    • Field Detail

      • logger

        protected final org.slf4j.Logger logger
    • Constructor Detail

      • AppBasedWebsocketTestingBase

        public AppBasedWebsocketTestingBase()
    • Method Detail

      • getExtraOverridingModule3

        protected com.google.inject.Module getExtraOverridingModule3()
      • getSpincastUndertowConfigImplementation

        protected SpincastUndertowConfig getSpincastUndertowConfigImplementation()
      • getServerPingIntervalSeconds

        protected int getServerPingIntervalSeconds()
      • closeAllWebsocketEndpoints

        protected void closeAllWebsocketEndpoints()
      • getWebsocketTestExpectedWebsocketV13AcceptHeaderValue

        protected String getWebsocketTestExpectedWebsocketV13AcceptHeaderValue()
      • getSecSocketKey

        protected String getSecSocketKey()
        Generates a random String for the "Sec-WebSocket-Key" Websocket header.
      • validateIsWebsocketUpgradeHttpResponse

        protected void validateIsWebsocketUpgradeHttpResponse(String path,
                                                              HttpResponse response)
        Validates the response is a Websocket upgrade permission.
      • validateIsNotWebsocketUpgradeHttpResponse

        protected void validateIsNotWebsocketUpgradeHttpResponse(HttpResponse response)
        Validates the response is NOT a Websocket upgrade permission.

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy