public class Expect100ContinueFeature extends Object implements javax.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(javax.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(javax.ws.rs.core.FeatureContext configurableContext)
configure in interface javax.ws.rs.core.FeatureCopyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.