Searched refs:exchange (Results 1 - 12 of 12) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/net/httpserver/
H A DFilter.java33 * before the application's exchange handler is invoked, and post-processing
34 * occurs after the exchange handler returns. Filters
39 * exchange handler.
65 * the users exchange handler, if this is the
70 * exchange handler will not be invoked.
71 * @param exchange the HttpExchange
73 * @throws NullPointerException if exchange is <code>null</code>
75 public void doFilter (HttpExchange exchange) throws IOException { argument
77 handler.handle (exchange);
80 f.doFilter (exchange, thi
110 doFilter(HttpExchange exchange, Chain chain) argument
[all...]
H A DHttpHandler.java32 * HTTP exchange is handled by one of these handlers.
39 * involved in handling an exchange.
40 * @param exchange the exchange containing the request from the
42 * @throws NullPointerException if exchange is <code>null</code>
44 public abstract void handle (HttpExchange exchange) throws IOException; argument
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DEvent.java33 ExchangeImpl exchange; field in class:Event
36 this.exchange = t;
H A DServerImpl.java275 ExchangeImpl t = r.exchange;
482 /* per exchange task */
676 public void handle (HttpExchange exchange) throws IOException { argument
677 nextChain.doFilter (exchange);
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/ws/spi/http/
H A DHttpHandler.java45 * involved in handling an exchange. Container invokes this method
48 * @param exchange the exchange containing the request from the
53 public abstract void handle(HttpExchange exchange) throws IOException; argument
/openjdk7/jdk/test/sun/net/www/http/ChunkedOutputStream/
H A DTest.java46 public void handle(HttpExchange exchange) { argument
49 switch (exchange.getRequestURI().toString()) {
52 printRequestURI(exchange);
53 reqbody = read(exchange.getRequestBody());
55 exchange.sendResponseHeaders(500, 0);
59 Headers headers = exchange.getRequestHeaders();
63 exchange.sendResponseHeaders(501, 0);
67 exchange.sendResponseHeaders(200, reqbody.length());
68 write(exchange.getResponseBody(), reqbody);
71 Headers resHeaders = exchange
213 printRequestURI(HttpExchange exchange) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/
H A DHandlerTube.java214 // Clean up the exchange for next invocation.
215 exchange = null;
299 return exchange.isHandleFault();
302 exchange.setHandleFault(isFault);
308 exchange.setHandleFault(true);
312 return exchange.isHandleFalse();
316 exchange.setHandleFalse();
320 if(exchange == null) {
321 exchange = new HandlerTubeExchange();
323 cousinTube.exchange
332 private HandlerTubeExchange exchange; field in class:HandlerTube
[all...]
/openjdk7/jdk/test/javax/swing/SwingWorker/6493680/
H A Dbug6493680.java68 return exchanger.exchange(true);
84 exchanger.exchange(isPassed);
/openjdk7/jdk/test/com/sun/net/httpserver/
H A DTest14.java69 public void doFilter (HttpExchange exchange, Filter.Chain chain) argument
71 exchange.setStreams (null, new OffsetOutputStream(
72 exchange.getResponseBody()
74 chain.doFilter (exchange);
/openjdk7/jdk/test/java/util/concurrent/Exchanger/
H A DExchangeLoops.java97 Int other = left.exchange(item);
105 Int other = right.exchange(item);
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DExchanger.java44 * {@link #exchange exchange} method, matches with a partner thread,
68 * currentBuffer = exchanger.exchange(currentBuffer);
81 * currentBuffer = exchanger.exchange(currentBuffer);
95 * successfully exchange objects via an {@code Exchanger}, actions
96 * prior to the {@code exchange()} in each thread
98 * those subsequent to a return from the corresponding {@code exchange()}
113 * for another to invoke exchange. That second "fulfilling" thread
127 * threads performing an exchange. Incoming threads pick slots
173 * entangled with indexing and hashing inside the exchange cod
619 public V exchange(V x) throws InterruptedException { method in class:Exchanger
673 public V exchange(V x, long timeout, TimeUnit unit) method in class:Exchanger
[all...]
/openjdk7/hotspot/src/cpu/x86/vm/
H A DstubGenerator_x86_32.cpp474 Address exchange(rsp, 2 * wordSize);
476 __ movl(rax, exchange);

Completed in 238 milliseconds