All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.logdoc.fairhttp.structs.websocket.extension.IExtension Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package org.logdoc.fairhttp.structs.websocket.extension;

import org.logdoc.fairhttp.structs.websocket.frames.Frame;

public interface IExtension {

  void decodeFrame(Frame inputFrame) throws ExtensionError;

  void encodeFrame(Frame inputFrame) throws ExtensionError;

  boolean acceptProvidedExtensionAsServer(String inputExtensionHeader);

  boolean acceptProvidedExtensionAsClient(String inputExtensionHeader);

  boolean isFrameValid(Frame inputFrame);

  String getProvidedExtensionAsClient();

  String getProvidedExtensionAsServer();

  IExtension copyInstance();

  void reset();

  String toString();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy