Package org.apache.cxf.transport.http
Interface HttpServerEngineSupport
-
public interface HttpServerEngineSupport
Support class for HTTP server engines: holds common properties and commonly used methods, shared across all HTTP server engine implementations (Tomcat, Jetty, Undertow, Netty, ...).
-
-
Field Summary
Fields Modifier and Type Field Description static String
ENABLE_HTTP2
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
isHttp2Enabled(org.apache.cxf.Bus bus)
Check if Http2 is enabled on the Bus or system property Default if not configured otherwise is truedefault boolean
isHttp2Required(org.apache.cxf.Bus bus)
Check if Http2 is enabled on the Bus or system property Default if not configured otherwise is false
-
-
-
Field Detail
-
ENABLE_HTTP2
static final String ENABLE_HTTP2
- See Also:
- Constant Field Values
-
-
Method Detail
-
isHttp2Enabled
default boolean isHttp2Enabled(org.apache.cxf.Bus bus)
Check if Http2 is enabled on the Bus or system property Default if not configured otherwise is true- Parameters:
bus
-- Returns:
-
isHttp2Required
default boolean isHttp2Required(org.apache.cxf.Bus bus)
Check if Http2 is enabled on the Bus or system property Default if not configured otherwise is false- Parameters:
bus
-- Returns:
-
-