public class Expect100ContinueFeature extends Object implements jakarta.ws.rs.core.Feature
Constructor and Description |
---|
Expect100ContinueFeature() |
Modifier and Type | Method and Description |
---|---|
static Expect100ContinueFeature |
basic()
Creates Expect100Continue Feature with default threshold size
|
boolean |
configure(jakarta.ws.rs.core.FeatureContext configurableContext) |
static Expect100ContinueFeature |
withCustomThreshold(long thresholdSize)
Creates Expect100ContinueFeature with custom (not default) threshold size for content length.
|
public static Expect100ContinueFeature withCustomThreshold(long thresholdSize)
thresholdSize
- size of thresholdpublic static Expect100ContinueFeature basic()
public boolean configure(jakarta.ws.rs.core.FeatureContext configurableContext)
configure
in interface jakarta.ws.rs.core.Feature
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.