Example usage for io.netty.handler.codec.rtsp RtspMethods valueOf

List of usage examples for io.netty.handler.codec.rtsp RtspMethods valueOf

Introduction

In this page you can find the example usage for io.netty.handler.codec.rtsp RtspMethods valueOf.

Prototype

public static HttpMethod valueOf(String name) 

Source Link

Document

Returns the HttpMethod represented by the specified name.

Usage

From source file:com.sengled.cloud.mediaserver.rtsp.codec.RtspRequestDecoder.java

License:Apache License

@Override
protected HttpMessage createMessage(String[] initialLine) throws Exception {
    return new DefaultHttpRequest(RtspVersions.valueOf(initialLine[2]), RtspMethods.valueOf(initialLine[0]),
            initialLine[1], validateHeaders);
}