You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 31, 2022. It is now read-only.
* Creates a temporary context at a random address that will remove itself after the first connection. This type of context is typically used for single use downloads or media file hosting. <br>
348
-
* To get the context use {@link HttpContext#getPath()}.
349
-
*
350
-
* @deprecated Use {@link com.kttdevelopment.simplehttpserver.handler.TemporaryHandler} instead
351
-
*
352
-
* @return the http context associated with the context
* Creates a temporary context at a random address that will remove itself after the first connection or after the max time is passed. This type of context is typically used for single use downloads or media file hosting. <br>
372
-
* To get the context use {@link HttpContext#getPath()}.
373
-
*
374
-
* @deprecated Use {@link com.kttdevelopment.simplehttpserver.handler.TemporaryHandler} instead
375
-
*
376
-
* @param maxTime the maximum time the context may exist for (in milliseconds)
377
-
* @return the http context associated with the context
* Creates a temporary context at a random address that will remove itself after the first connection. This type of context is typically used for single use downloads or media file hosting. <br>
397
-
* To get the context use {@link HttpContext#getPath()}. <br>
398
-
* This method encapsulates the handler with a temporary one, so {@link HttpContext#getHandler()} will not return the one passed in the parameter, instead it will return the encapsulating handler.
399
-
*
400
-
* @deprecated Use {@link com.kttdevelopment.simplehttpserver.handler.TemporaryHandler} instead
401
-
*
402
-
* @param handler handler to use
403
-
* @return the http context associated with the context
* Creates a temporary context at a random address that will remove itself after the first connection or after the max time is passed. This type of context is typically used for single use downloads or media file hosting. <br>
424
-
* To get the context use {@link HttpContext#getPath()}. <br>
425
-
* This method encapsulates the handler with a temporary one, so {@link HttpContext#getHandler()} will not return the one passed in the parameter, instead it will return the encapsulating handler.
426
-
*
427
-
* @deprecated Use {@link com.kttdevelopment.simplehttpserver.handler.TemporaryHandler} instead
428
-
*
429
-
* @param handler handler to use
430
-
* @param maxTime the maximum time the context may exist for (in milliseconds)
431
-
* @return the http context associated with the context
* Creates a temporary context at a specified address that will remove itself after the first connection. This type of context is typically used for single use downloads or media file hosting. <br>
452
-
*
453
-
* @deprecated Use {@link com.kttdevelopment.simplehttpserver.handler.TemporaryHandler} instead
454
-
*
455
-
* @param context the context
456
-
* @return the http context associated with the context
457
-
* @throws IllegalArgumentException if the context is invalid or taken
458
-
* @throws NullPointerException if the context is null
* Creates a temporary context at a specified address that will remove itself after the first connection or after the max time is passed. This type of context is typically used for single use downloads or media file hosting. <br>
478
-
*
479
-
* @deprecated Use {@link com.kttdevelopment.simplehttpserver.handler.TemporaryHandler} instead
480
-
*
481
-
* @param context the context
482
-
* @param maxTime the maximum time the context may exist for (in milliseconds)
483
-
* @return the http context associated with the context
484
-
* @throws IllegalArgumentException if the context is invalid or taken
485
-
* @throws NullPointerException if the context is null
* Creates a temporary context at a specified address that will remove itself after the first connection. This type of context is typically used for single use downloads or media file hosting. <br>
506
-
* This method encapsulates the handler with a temporary one, so {@link HttpContext#getHandler()} will not return the one passed in the parameter, instead it will return the encapsulating handler.
507
-
*
508
-
* @deprecated Use {@link com.kttdevelopment.simplehttpserver.handler.TemporaryHandler} instead
509
-
*
510
-
* @param context the context
511
-
* @param handler handler to use
512
-
* @return the http context associated with the context
513
-
* @throws IllegalArgumentException if the context is invalid or taken
514
-
* @throws NullPointerException if the context is null
* Creates a temporary context at a random address that will remove itself after the first connection or after the max time is passed. This type of context is typically used for single use downloads or media file hosting. <br>
536
-
* To get the context use {@link HttpContext#getPath()}. <br>
537
-
* This method encapsulates the handler with a temporary one, so {@link HttpContext#getHandler()} will not return the one passed in the parameter, instead it will return the encapsulating handler.
538
-
*
539
-
* @deprecated Use {@link com.kttdevelopment.simplehttpserver.handler.TemporaryHandler} instead
540
-
*
541
-
* @param context the context
542
-
* @param handler handler to use
543
-
* @param maxTime the maximum time the context may exist for (in milliseconds)
544
-
* @return the http context associated with the context
545
-
* @throws IllegalArgumentException if the context is invalid or taken
546
-
* @throws NullPointerException if the context is null
0 commit comments