📄 extendedurl.java
字号:
package net.matuschek.http;
/*********************************************
Copyright (c) 2001 by Daniel Matuschek
*********************************************/
import java.net.URL;
/**
* This class represents an URL that contains also
* a argument (e.g. the values for HTTP POST) and a request type (GET/POST)
*
* @author Daniel Matuschek
* @version $Id $
*/
public class ExtendedURL {
private URL url = null;
private int requestMethod = HttpConstants.GET;
private String params = "";
/**
* Simple constructoir, does nothing special
*/
public ExtendedURL() {
}
public URL getURL() {
return this.url;
}
public void setURL(URL url) {
this.url = url;
}
public int getRequestMethod() {
return this.requestMethod;
}
public void setRequestMethod(int requestMethod) {
this.requestMethod = requestMethod;
}
public String getParams() {
return this.params;
}
public void setParams(String params) {
this.params = params;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -