Package org.apache.wicket.http2
Class Http2Settings.Holder
- java.lang.Object
-
- org.apache.wicket.http2.Http2Settings.Holder
-
- Enclosing class:
- Http2Settings
public static final class Http2Settings.Holder extends Object
Holds this Http2Settings in the Application's meta data. This way wicket-core module doesn't have reference to wicket-http2-core
-
-
Constructor Summary
Constructors Constructor Description Holder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Http2Settings
get(Application application)
Gets the http2 settings from the given applicationstatic void
set(Application application, Http2Settings settings)
Sets the given http2 settings to the given application
-
-
-
Constructor Detail
-
Holder
public Holder()
-
-
Method Detail
-
get
public static Http2Settings get(Application application)
Gets the http2 settings from the given application- Parameters:
application
- the application to get the meta data from- Returns:
- the http2 settings
-
set
public static void set(Application application, Http2Settings settings)
Sets the given http2 settings to the given application- Parameters:
application
- the application to set the meta data key tosettings
- the http2 settings to be set to the application
-
-