checkHeaderType() 개인적인 정적인 메소드

private static checkHeaderType ( string name ) : HttpHeaderType
name string
리턴 HttpHeaderType
예제 #1
0
        private void doWithCheckingState(Action <string, string> action, string name, string value, bool setState)
        {
            HttpHeaderType httpHeaderType = WebHeaderCollection.checkHeaderType(name);

            if (httpHeaderType == HttpHeaderType.Request)
            {
                this.doWithCheckingState(action, name, value, false, setState);
            }
            else if (httpHeaderType != HttpHeaderType.Response)
            {
                action(name, value);
            }
            else
            {
                this.doWithCheckingState(action, name, value, true, setState);
            }
        }