Uses of Class
com.github.copilot.CopilotRequestContext
Packages that use CopilotRequestContext
-
Uses of CopilotRequestContext in com.github.copilot
Fields in com.github.copilot declared as CopilotRequestContextModifier and TypeFieldDescriptionprotected final CopilotRequestContextCopilotWebSocketHandler.contextThe request context for this WebSocket connection.Methods in com.github.copilot that return CopilotRequestContextModifier and TypeMethodDescriptionCopilotRequestContext.withHeaders(Map<String, List<String>> headers) Returns a copy of this context with different request headers.Returns a copy of this context with a different request URL.Methods in com.github.copilot with parameters of type CopilotRequestContextModifier and TypeMethodDescriptionprotected CopilotWebSocketHandlerCopilotRequestHandler.openWebSocket(CopilotRequestContext ctx) Returns a per-connection WebSocket handler for a WebSocket request.protected HttpResponse<InputStream> CopilotRequestHandler.sendRequest(HttpRequest request, CopilotRequestContext ctx) Forwards an HTTP request and returns the upstream response.Constructors in com.github.copilot with parameters of type CopilotRequestContextModifierConstructorDescriptionCreates a forwarding handler targeting the request URL and headers fromcontext.protectedInitializes a per-connection handler for the supplied request context.