Uses of Class
com.microsoft.azure.relay.RelayedHttpListenerContext
-
Uses of RelayedHttpListenerContext in com.microsoft.azure.relay
Methods in com.microsoft.azure.relay that return RelayedHttpListenerContextMethods in com.microsoft.azure.relay that return types with arguments of type RelayedHttpListenerContextModifier and TypeMethodDescriptionHybridConnectionListener.getAcceptHandler()HybridConnectionListener.getRequestHandler()Method parameters in com.microsoft.azure.relay with type arguments of type RelayedHttpListenerContextModifier and TypeMethodDescriptionvoidHybridConnectionListener.setAcceptHandler(Function<RelayedHttpListenerContext, Boolean> acceptHandler) Installing a custom handler which can inspect request headers, control response headers, decide whether to accept or reject a websocket upgrade request, and control the status code/description if rejecting.voidHybridConnectionListener.setRequestHandler(Consumer<RelayedHttpListenerContext> requestHandler) Install a custom handler which will be run upon receiving a HTTP request.