< prev index next >

src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/frame/Http2Frame.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 47,78 **** public void setFlag(int flag) { flags |= flag; } - public void setFlags(int flags) { - this.flags = flags; - } - public int getFlags() { return flags; } public boolean getFlag(int flag) { return (flags & flag) != 0; } ! public void clearFlag(int flag) { ! flags &= 0xffffffff ^ flag; ! } public void streamid(int streamid) { this.streamid = streamid; } ! public String typeAsString() { return asString(type()); } public int type() { return -1; // Unknown type --- 47,74 ---- public void setFlag(int flag) { flags |= flag; } public int getFlags() { return flags; } public boolean getFlag(int flag) { return (flags & flag) != 0; } ! // public void clearFlag(int flag) { ! // flags &= 0xffffffff ^ flag; ! // } public void streamid(int streamid) { this.streamid = streamid; } ! private String typeAsString() { return asString(type()); } public int type() { return -1; // Unknown type
< prev index next >