D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby19
/
lib64
/
ruby
/
gems
/
1.9.1
/
doc
/
rack-1.6.4
/
ri
/
Rack
/
URLMap
/
Filename :
cdesc-URLMap.ri
back
Copy
U:RDoc::NormalClass[iI"URLMap:EFI"Rack::URLMap;FI"Object;Fo:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[I"ARack::URLMap takes a hash mapping urls or paths to apps, and;FI"Gdispatches accordingly. Support for HTTP/1.1 host names exists if;FI"?the URLs start with <tt>http://</tt> or <tt>https://</tt>.;Fo:RDoc::Markup::BlankLine o; ;[ I"EURLMap modifies the SCRIPT_NAME and PATH_INFO such that the part;FI"Erelevant for dispatch is in the SCRIPT_NAME, and the rest in the;FI">PATH_INFO. This should be taken care of when you need to;FI"2reconstruct the URL in order to create links.;F@o; ;[I"EURLMap dispatches in such a way that the longest paths are tried;FI")first, since they are most specific.;F: @fileI"lib/rack/urlmap.rb;F;0[ [[I"NEGATIVE_INFINITY;Fo;;[ ;0@[I" INFINITY;Fo;;[ ;0@[ [[I" class;F[[:public[[I"new;F@[:protected[ [:private[ [I" instance;F[[;[[I" call;F@[I" remap;F@[; [ [;[