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

com.github.monkeywie.proxyee.server.HttpProxyServerConfig Maven / Gradle / Ivy

Go to download

HTTP proxy server,support HTTPS and websocket.MITM impl,intercept and tamper HTTPS traffic.

There is a newer version: 1.7.6
Show newest version
package com.github.monkeywie.proxyee.server;

import io.netty.channel.EventLoopGroup;
import io.netty.handler.ssl.SslContext;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.util.Date;

public class HttpProxyServerConfig {
  private SslContext clientSslCtx;
  private String issuer;
  private Date caNotBefore;
  private Date caNotAfter;
  private PrivateKey caPriKey;
  private PrivateKey serverPriKey;
  private PublicKey serverPubKey;
  private EventLoopGroup proxyLoopGroup;
  private int bossGroupThreads;
  private int workerGroupThreads;
  private int proxyGroupThreads;
  private boolean handleSsl;

  public SslContext getClientSslCtx() {
    return clientSslCtx;
  }

  public void setClientSslCtx(SslContext clientSslCtx) {
    this.clientSslCtx = clientSslCtx;
  }

  public String getIssuer() {
    return issuer;
  }

  public void setIssuer(String issuer) {
    this.issuer = issuer;
  }

  public Date getCaNotBefore() {
    return caNotBefore;
  }

  public void setCaNotBefore(Date caNotBefore) {
    this.caNotBefore = caNotBefore;
  }

  public Date getCaNotAfter() {
    return caNotAfter;
  }

  public void setCaNotAfter(Date caNotAfter) {
    this.caNotAfter = caNotAfter;
  }

  public PrivateKey getCaPriKey() {
    return caPriKey;
  }

  public void setCaPriKey(PrivateKey caPriKey) {
    this.caPriKey = caPriKey;
  }

  public PrivateKey getServerPriKey() {
    return serverPriKey;
  }

  public void setServerPriKey(PrivateKey serverPriKey) {
    this.serverPriKey = serverPriKey;
  }

  public PublicKey getServerPubKey() {
    return serverPubKey;
  }

  public void setServerPubKey(PublicKey serverPubKey) {
    this.serverPubKey = serverPubKey;
  }

  public EventLoopGroup getProxyLoopGroup() {
    return proxyLoopGroup;
  }

  public void setProxyLoopGroup(EventLoopGroup proxyLoopGroup) {
    this.proxyLoopGroup = proxyLoopGroup;
  }

  public boolean isHandleSsl() {
    return handleSsl;
  }

  public void setHandleSsl(boolean handleSsl) {
    this.handleSsl = handleSsl;
  }

  public int getBossGroupThreads() {
    return bossGroupThreads;
  }

  public void setBossGroupThreads(int bossGroupThreads) {
    this.bossGroupThreads = bossGroupThreads;
  }

  public int getWorkerGroupThreads() {
    return workerGroupThreads;
  }

  public void setWorkerGroupThreads(int workerGroupThreads) {
    this.workerGroupThreads = workerGroupThreads;
  }

  public int getProxyGroupThreads() {
    return proxyGroupThreads;
  }

  public void setProxyGroupThreads(int proxyGroupThreads) {
    this.proxyGroupThreads = proxyGroupThreads;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy