Mercurial Hosting > luan
comparison src/org/eclipse/jetty/continuation/Continuation.java @ 936:237ace6e8bc2
simplify AsyncContinuation
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 09 Oct 2016 21:35:26 -0600 |
parents | aa7dc1802d29 |
children |
comparison
equal
deleted
inserted
replaced
935:aa7dc1802d29 | 936:237ace6e8bc2 |
---|---|
358 /* ------------------------------------------------------------ */ | 358 /* ------------------------------------------------------------ */ |
359 /** | 359 /** |
360 * Get the suspended response. | 360 * Get the suspended response. |
361 * @return the {@link ServletResponse} passed to {@link #suspend(ServletResponse)}. | 361 * @return the {@link ServletResponse} passed to {@link #suspend(ServletResponse)}. |
362 */ | 362 */ |
363 ServletResponse getServletResponse(); | 363 // ServletResponse getServletResponse(); |
364 | 364 |
365 /* ------------------------------------------------------------ */ | 365 /* ------------------------------------------------------------ */ |
366 /** | 366 /** |
367 * Add a ContinuationListener. | 367 * Add a ContinuationListener. |
368 * | 368 * |
376 * method on the associated request object. | 376 * method on the associated request object. |
377 * This is a thread safe call and may be called by any thread. | 377 * This is a thread safe call and may be called by any thread. |
378 * @param name the attribute name | 378 * @param name the attribute name |
379 * @param attribute the attribute value | 379 * @param attribute the attribute value |
380 */ | 380 */ |
381 public void setAttribute(String name, Object attribute); | 381 // public void setAttribute(String name, Object attribute); |
382 | 382 |
383 /* ------------------------------------------------------------ */ | 383 /* ------------------------------------------------------------ */ |
384 /** Get a request attribute. | 384 /** Get a request attribute. |
385 * This method is a convenience method to call the {@link ServletRequest#getAttribute(String)} | 385 * This method is a convenience method to call the {@link ServletRequest#getAttribute(String)} |
386 * method on the associated request object. | 386 * method on the associated request object. |
387 * This is a thread safe call and may be called by any thread. | 387 * This is a thread safe call and may be called by any thread. |
388 * @param name the attribute name | 388 * @param name the attribute name |
389 * @return the attribute value | 389 * @return the attribute value |
390 */ | 390 */ |
391 public Object getAttribute(String name); | 391 // public Object getAttribute(String name); |
392 | 392 |
393 /* ------------------------------------------------------------ */ | 393 /* ------------------------------------------------------------ */ |
394 /** Remove a request attribute. | 394 /** Remove a request attribute. |
395 * This method is a convenience method to call the {@link ServletRequest#removeAttribute(String)} | 395 * This method is a convenience method to call the {@link ServletRequest#removeAttribute(String)} |
396 * method on the associated request object. | 396 * method on the associated request object. |
397 * This is a thread safe call and may be called by any thread. | 397 * This is a thread safe call and may be called by any thread. |
398 * @param name the attribute name | 398 * @param name the attribute name |
399 */ | 399 */ |
400 public void removeAttribute(String name); | 400 // public void removeAttribute(String name); |
401 | 401 |
402 /* ------------------------------------------------------------ */ | 402 /* ------------------------------------------------------------ */ |
403 /** | 403 /** |
404 * Undispatch the request. | 404 * Undispatch the request. |
405 * <p> | 405 * <p> |