Lines Matching defs:httpExchange
58 private final HttpExchange httpExchange;
63 public PortableConnectionImpl(@NotNull HttpAdapter adapter, @NotNull HttpExchange httpExchange) {
65 this.httpExchange = httpExchange;
71 return httpExchange.getRequestHeaders();
76 return httpExchange.getRequestHeader(headerName);
81 Map<String, List<String>> r = httpExchange.getResponseHeaders();
96 return httpExchange.getResponseHeaders();
101 httpExchange.addResponseHeader("Content-Type", value);
116 return httpExchange.getRequestBody();
123 httpExchange.setStatus(getStatus());
124 return httpExchange.getResponseBody();
132 return httpExchange.getUserPrincipal();
136 return httpExchange.isUserInRole(role);
149 return httpExchange.getAttribute(MessageContext.SERVLET_CONTEXT);
154 return httpExchange.getAttribute(MessageContext.SERVLET_RESPONSE);
159 return httpExchange.getAttribute(MessageContext.SERVLET_REQUEST);
172 return httpExchange.getScheme().equals("https");
178 return httpExchange.getRequestMethod();
184 return httpExchange.getQueryString();
190 return httpExchange.getPathInfo();
195 return httpExchange;
201 sb.append(httpExchange.getScheme());
203 sb.append(httpExchange.getLocalAddress().getHostName());
205 sb.append(httpExchange.getLocalAddress().getPort());
206 sb.append(httpExchange.getContextPath());
212 return httpExchange.getProtocol();
217 httpExchange.addResponseHeader("Content-Length", ""+value);