Komplettes G-Earth Paket inkl. JRE, Extensions und Tools. Extensions: - G-BuildTools, G-Click Ultimate, G-Loader, G-Manipulate - G-Presets, G-Translator, G-Trigger, G-itemViewer - Market Utils, Packet Info Explorer, Plants - RandomRoomVisitor, RoomLogger, Sanbovir Photo Inspector - SpyFriends, WallAligner, XabboScripter, xabbo
32 lines
944 B
Java
32 lines
944 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package javax.servlet;
|
|
|
|
import javax.servlet.HttpConstraintElement;
|
|
|
|
public class HttpMethodConstraintElement
|
|
extends HttpConstraintElement {
|
|
private String methodName;
|
|
|
|
public HttpMethodConstraintElement(String methodName) {
|
|
if (methodName == null || methodName.length() == 0) {
|
|
throw new IllegalArgumentException("invalid HTTP method name");
|
|
}
|
|
this.methodName = methodName;
|
|
}
|
|
|
|
public HttpMethodConstraintElement(String methodName, HttpConstraintElement constraint) {
|
|
super(constraint.getEmptyRoleSemantic(), constraint.getTransportGuarantee(), constraint.getRolesAllowed());
|
|
if (methodName == null || methodName.length() == 0) {
|
|
throw new IllegalArgumentException("invalid HTTP method name");
|
|
}
|
|
this.methodName = methodName;
|
|
}
|
|
|
|
public String getMethodName() {
|
|
return this.methodName;
|
|
}
|
|
}
|
|
|