diff options
Diffstat (limited to 'jetty-spdy/spdy-core/src/main/java/org/eclipse/jetty/spdy/frames/SettingsFrame.java')
-rw-r--r-- | jetty-spdy/spdy-core/src/main/java/org/eclipse/jetty/spdy/frames/SettingsFrame.java | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/jetty-spdy/spdy-core/src/main/java/org/eclipse/jetty/spdy/frames/SettingsFrame.java b/jetty-spdy/spdy-core/src/main/java/org/eclipse/jetty/spdy/frames/SettingsFrame.java deleted file mode 100644 index 263936f230..0000000000 --- a/jetty-spdy/spdy-core/src/main/java/org/eclipse/jetty/spdy/frames/SettingsFrame.java +++ /dev/null @@ -1,49 +0,0 @@ -// -// ======================================================================== -// Copyright (c) 1995-2015 Mort Bay Consulting Pty. Ltd. -// ------------------------------------------------------------------------ -// All rights reserved. This program and the accompanying materials -// are made available under the terms of the Eclipse Public License v1.0 -// and Apache License v2.0 which accompanies this distribution. -// -// The Eclipse Public License is available at -// http://www.eclipse.org/legal/epl-v10.html -// -// The Apache License v2.0 is available at -// http://www.opensource.org/licenses/apache2.0.php -// -// You may elect to redistribute this code under either of these licenses. -// ======================================================================== -// - -package org.eclipse.jetty.spdy.frames; - -import org.eclipse.jetty.spdy.api.Settings; -import org.eclipse.jetty.spdy.api.SettingsInfo; - -public class SettingsFrame extends ControlFrame -{ - private final Settings settings; - - public SettingsFrame(short version, byte flags, Settings settings) - { - super(version, ControlFrameType.SETTINGS, flags); - this.settings = settings; - } - - public boolean isClearPersisted() - { - return (getFlags() & SettingsInfo.CLEAR_PERSISTED) == SettingsInfo.CLEAR_PERSISTED; - } - - public Settings getSettings() - { - return settings; - } - - @Override - public String toString() - { - return String.format("%s clear_persisted=%b settings=%s", super.toString(), isClearPersisted(), getSettings()); - } -} |