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

com.github.tonivade.resp.command.IRequest Maven / Gradle / Ivy

/*
 * Copyright (c) 2015-2017, Antonio Gabriel Muñoz Conejo 
 * Distributed under the terms of the MIT License
 */
package com.github.tonivade.resp.command;

import java.util.List;
import java.util.Optional;

import com.github.tonivade.resp.protocol.SafeString;

public interface IRequest {
  String getCommand();
  List getParams();
  SafeString getParam(int i);
  Optional getOptionalParam(int i);
  int getLength();
  boolean isEmpty();
  ISession getSession();
  IServerContext getServerContext();
  boolean isExit();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy