C# 클래스 org.GraphDefined.Vanaheimr.Hermod.HTTP.HTTPTools

HTTP tools.
파일 보기 프로젝트 열기: Vanaheimr/Hermod 1 사용 예제들

공개 메소드들

메소드 설명
MovedPermanently ( HTTPRequest HTTPRequest, String Location ) : HTTPResponse

Return a HTTP response redirecting to the given location permanently.

MovedTemporarily ( HTTPRequest HTTPRequest, String Location ) : HTTPResponse

Return a HTTP response redirecting to the given location temporarily.

메소드 상세

MovedPermanently() 공개 정적인 메소드

Return a HTTP response redirecting to the given location permanently.
public static MovedPermanently ( HTTPRequest HTTPRequest, String Location ) : HTTPResponse
HTTPRequest HTTPRequest The HTTP request.
Location String The location of the redirect.
리턴 HTTPResponse

MovedTemporarily() 공개 정적인 메소드

Return a HTTP response redirecting to the given location temporarily.
public static MovedTemporarily ( HTTPRequest HTTPRequest, String Location ) : HTTPResponse
HTTPRequest HTTPRequest The HTTP request.
Location String The location of the redirect.
리턴 HTTPResponse