Enum UrlMap.RedirectHttpResponseCode (2.29.0)

public enum UrlMap.RedirectHttpResponseCode extends Enum<UrlMap.RedirectHttpResponseCode> implements ProtocolMessageEnum

Redirect codes.

Protobuf enum google.appengine.v1.UrlMap.RedirectHttpResponseCode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
REDIRECT_HTTP_RESPONSE_CODE_301

301 Moved Permanently code.

REDIRECT_HTTP_RESPONSE_CODE_301 = 1;

REDIRECT_HTTP_RESPONSE_CODE_301_VALUE

301 Moved Permanently code.

REDIRECT_HTTP_RESPONSE_CODE_301 = 1;

REDIRECT_HTTP_RESPONSE_CODE_302

302 Moved Temporarily code.

REDIRECT_HTTP_RESPONSE_CODE_302 = 2;

REDIRECT_HTTP_RESPONSE_CODE_302_VALUE

302 Moved Temporarily code.

REDIRECT_HTTP_RESPONSE_CODE_302 = 2;

REDIRECT_HTTP_RESPONSE_CODE_303

303 See Other code.

REDIRECT_HTTP_RESPONSE_CODE_303 = 3;

REDIRECT_HTTP_RESPONSE_CODE_303_VALUE

303 See Other code.

REDIRECT_HTTP_RESPONSE_CODE_303 = 3;

REDIRECT_HTTP_RESPONSE_CODE_307

307 Temporary Redirect code.

REDIRECT_HTTP_RESPONSE_CODE_307 = 4;

REDIRECT_HTTP_RESPONSE_CODE_307_VALUE

307 Temporary Redirect code.

REDIRECT_HTTP_RESPONSE_CODE_307 = 4;

REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED

Not specified. 302 is assumed.

REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED = 0;

REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED_VALUE

Not specified. 302 is assumed.

REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()