|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.mimo.netty.handler.codec.icap.IcapVersion
public final class IcapVersion
Provides translation and handling for Icap version string.
Field Summary | |
---|---|
static IcapVersion |
ICAP_1_0
|
Method Summary | |
---|---|
int |
getMajorVersion()
Major version |
int |
getMinorVersion()
Minor version |
String |
getProtocolName()
Protocol name |
String |
getText()
The text representation of this version. |
String |
toString()
|
static IcapVersion |
valueOf(String text)
Returns an existing or new HttpVersion instance which matches to
the specified RTSP version string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final IcapVersion ICAP_1_0
Method Detail |
---|
public String getProtocolName()
public int getMajorVersion()
public int getMinorVersion()
public String getText()
public static IcapVersion valueOf(String text)
HttpVersion
instance which matches to
the specified RTSP version string. If the specified text
is
equal to "ICAP/1.0"
, ICAP_1_0
will be returned.
Otherwise, a new HttpVersion
instance will be returned.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |