Package org.yamcs.http
Class HttpUtils
- java.lang.Object
-
- org.yamcs.http.HttpUtils
-
public class HttpUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static io.netty.handler.codec.http.FullHttpResponseCONTINUE_RESPONSEstatic io.netty.handler.codec.http.FullHttpResponseEMPTY_BAD_REQUEST_RESPONSE
-
Constructor Summary
Constructors Constructor Description HttpUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetPathWithoutContext(io.netty.handler.codec.http.HttpRequest req, String contextPath)Returns the path for the given HTTP request.static StringgetUriWithoutContext(io.netty.handler.codec.http.HttpRequest req, String contextPath)Returns the uri for the given HTTP request, but with the context path removed.
-