Top Fields Constructors Methods
org.eclipse.jetty.websocket.common

public Class JettyWebSocketFrame

extends Object
implements Frame
Class Inheritance
All Implemented Interfaces
org.eclipse.jetty.websocket.api.Frame
Imports
java.nio.ByteBuffer, org.eclipse.jetty.websocket.core.Frame

Field Summary

Modifier and TypeField and Description
private final Frame

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public byte[]
public byte
public ByteBuffer
public int
public Frame.Type
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

frameback to summary
private final Frame frame

Constructor Detail

JettyWebSocketFrameback to summary
public JettyWebSocketFrame(Frame frame)

Method Detail

getMaskback to summary
public byte[] getMask()

Implements org.eclipse.jetty.websocket.api.Frame.getMask.

Annotations
@Override
getOpCodeback to summary
public byte getOpCode()

Implements org.eclipse.jetty.websocket.api.Frame.getOpCode.

Annotations
@Override
getPayloadback to summary
public ByteBuffer getPayload()

Implements org.eclipse.jetty.websocket.api.Frame.getPayload.

Annotations
@Override
getPayloadLengthback to summary
public int getPayloadLength()

Implements org.eclipse.jetty.websocket.api.Frame.getPayloadLength.

Doc from org.eclipse.jetty.websocket.api.Frame.getPayloadLength.

The original payload length (ByteBuffer#remaining())

Returns:int

the original payload length (ByteBuffer#remaining())

Annotations
@Override
getTypeback to summary
public Frame.Type getType()

Implements org.eclipse.jetty.websocket.api.Frame.getType.

Annotations
@Override
hasPayloadback to summary
public boolean hasPayload()

Implements org.eclipse.jetty.websocket.api.Frame.hasPayload.

Annotations
@Override
isFinback to summary
public boolean isFin()

Implements org.eclipse.jetty.websocket.api.Frame.isFin.

Annotations
@Override
isMaskedback to summary
public boolean isMasked()

Implements org.eclipse.jetty.websocket.api.Frame.isMasked.

Annotations
@Override
isRsv1back to summary
public boolean isRsv1()

Implements org.eclipse.jetty.websocket.api.Frame.isRsv1.

Annotations
@Override
isRsv2back to summary
public boolean isRsv2()

Implements org.eclipse.jetty.websocket.api.Frame.isRsv2.

Annotations
@Override
isRsv3back to summary
public boolean isRsv3()

Implements org.eclipse.jetty.websocket.api.Frame.isRsv3.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override