com.sun.grizzly.tcp
Class SuspendResponseUtils
java.lang.Object
com.sun.grizzly.tcp.SuspendResponseUtils
public class SuspendResponseUtils
- extends Object
Utility class, which implements general response suspension functionality.
- Author:
- Alexey Stashok
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuspendResponseUtils
public SuspendResponseUtils()
attach
public static void attach(SelectionKey selectionKey,
Response.ResponseAttachment suspendedResponse)
updateIdleTimeOutDelay
public static void updateIdleTimeOutDelay(SelectionKey selectionKey,
Response.ResponseAttachment suspendedResponse)
detach
public static void detach(SelectionKey selectionKey)
get
public static Response.ResponseAttachment get(SelectionKey selectionKey)
isSuspendedInCurrentThread
public static boolean isSuspendedInCurrentThread()
setSuspendedInCurrentThread
public static void setSuspendedInCurrentThread()
removeSuspendedInCurrentThread
public static boolean removeSuspendedInCurrentThread()
Copyright © 2012 Oracle Corporation. All Rights Reserved.