com.appland.appmap.reflect.apache.HttpRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appmap-agent Show documentation
Show all versions of appmap-agent Show documentation
Inspect and record the execution of Java for use with App Land
The newest version!
package com.appland.appmap.reflect.apache;
import com.appland.appmap.reflect.ReflectiveType;
public class HttpRequest extends ReflectiveType {
private String GET_REQUEST_LINE = "getRequestLine";
RequestLine rl;
public HttpRequest(Object self) {
super(self);
addMethods(GET_REQUEST_LINE);
rl = new RequestLine(invokeObjectMethod(GET_REQUEST_LINE));
}
public String getMethod() {
return rl.getMethod();
}
public String getUri() {
return rl.getUri();
}
}