Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 12 of 12) sorted by relevance

/unit/src/java/nginx/unit/websocket/pojo/
H A DPojoEndpointServer.java40 ServerEndpointConfig sec = (ServerEndpointConfig) endpointConfig; in onOpen() local
44 pojo = sec.getConfigurator().getEndpointInstance( in onOpen()
45 sec.getEndpointClass()); in onOpen()
49 sec.getEndpointClass().getName()), e); in onOpen()
55 (Map<String, String>) sec.getUserProperties().get( in onOpen()
60 (PojoMethodMapping) sec.getUserProperties().get( in onOpen()
/unit/src/java/nginx/unit/websocket/server/
H A DWsServerContainer.java128 public void addEndpoint(ServerEndpointConfig sec) in addEndpoint() argument
140 String path = sec.getPath(); in addEndpoint()
144 sec.getDecoders(), path); in addEndpoint()
168 sec.getEndpointClass(), in addEndpoint()
169 sec.getEndpointClass())); in addEndpoint()
209 ServerEndpointConfig sec; in addEndpoint() local
233 addEndpoint(sec); in addEndpoint()
278 if (sec != null) { in findMapping()
308 sec = templateMatch.getConfig(); in findMapping()
313 if (sec == null) { in findMapping()
[all …]
H A DUpgradeUtil.java89 HttpServletResponse resp, ServerEndpointConfig sec, in doUpgrade() argument
97 if (!sec.getConfigurator().checkOrigin(origin)) { in doUpgrade()
104 String subProtocol = sec.getConfigurator().getNegotiatedSubprotocol( in doUpgrade()
105 sec.getSubprotocols(), subProtocols); in doUpgrade()
120 if (sec.getExtensions().size() == 0) { in doUpgrade()
124 installedExtensions.addAll(sec.getExtensions()); in doUpgrade()
127 List<Extension> negotiatedExtensionsPhase1 = sec.getConfigurator().getNegotiatedExtensions( in doUpgrade()
152 new WsPerSessionServerEndpointConfig(sec); in doUpgrade()
153 sec.getConfigurator().modifyHandshake(perSessionServerEndpointConfig, in doUpgrade()
167 Class<?> clazz = sec.getEndpointClass(); in doUpgrade()
[all …]
H A DDefaultServerEndpointConfigurator.java83 public void modifyHandshake(ServerEndpointConfig sec, in modifyHandshake() argument
/unit/src/
H A Dnxt_time.c31 now->sec = (nxt_time_t) ts.tv_sec; in nxt_realtime()
55 now->sec = (nxt_time_t) ts.tv_sec; in nxt_realtime()
78 now->sec = (nxt_time_t) ts.tv_sec; in nxt_realtime()
94 now->sec = (nxt_time_t) tv.tv_sec; in nxt_realtime()
229 now->realtime.sec = (nxt_time_t) tv.tv_sec; in nxt_monotonic_time()
H A Dnxt_time_parse.c21 nxt_int_t yr, month, day, hour, min, sec; in nxt_time_parse() local
217 sec = nxt_int_parse(p, 2); in nxt_time_parse()
218 if (nxt_slow_path(sec < 0)) { in nxt_time_parse()
235 if (nxt_slow_path(hour > 23 || min > 59 || sec > 59)) { in nxt_time_parse()
287 + (nxt_uint_t) sec; in nxt_time_parse()
H A Dnxt_thread_time.c163 t = nxt_shared_time.realtime.sec; in nxt_thread_time_shared()
168 if (now->realtime.sec == t && now->realtime.nsec == n in nxt_thread_time_shared()
182 return thr->time.now.realtime.sec; in nxt_thread_time()
254 s = thr->time.now.realtime.sec; in nxt_thread_time_string()
363 nxt_localtime(now.sec, &tm); in nxt_thread_time_string_no_cache()
366 nxt_gmtime(now.sec + nxt_gmtoff, &tm); in nxt_thread_time_string_no_cache()
370 nxt_gmtime(now.sec, &tm); in nxt_thread_time_string_no_cache()
H A Dnxt_time.h17 nxt_time_t sec; member
H A Dnxt_thread_cond.c90 ts.tv_sec = now->sec + ns / 1000000000; in nxt_thread_cond_wait()
H A Dnxt_semaphore.c134 ts.tv_sec = now->sec + ns / 1000000000; in nxt_sem_wait()
/unit/src/java/javax/websocket/server/
H A DServerContainer.java28 public abstract void addEndpoint(ServerEndpointConfig sec) in addEndpoint() argument
H A DServerEndpointConfig.java207 public void modifyHandshake(ServerEndpointConfig sec, in modifyHandshake() argument
209 fetchContainerDefaultConfigurator().modifyHandshake(sec, request, response); in modifyHandshake()