Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addDictionaryEntry(String, String) - Method in class edu.pdx.cs.joy.apptbookweb.AppointmentBookRestClient
- allDictionaryEntriesDeleted() - Static method in class edu.pdx.cs.joy.apptbookweb.Messages
- AppointmentBookRestClient - Class in edu.pdx.cs.joy.apptbookweb
-
A helper class for accessing the rest client.
- AppointmentBookRestClient(HttpRequestHelper) - Constructor for class edu.pdx.cs.joy.apptbookweb.AppointmentBookRestClient
- AppointmentBookRestClient(String, int) - Constructor for class edu.pdx.cs.joy.apptbookweb.AppointmentBookRestClient
-
Creates a client to the appointment book REST service running on the given host and port
- AppointmentBookServlet - Class in edu.pdx.cs.joy.apptbookweb
-
This servlet ultimately provides a REST API for working with an
AppointmentBook. - AppointmentBookServlet() - Constructor for class edu.pdx.cs.joy.apptbookweb.AppointmentBookServlet
D
- definedWordAs(String, String) - Static method in class edu.pdx.cs.joy.apptbookweb.Messages
- DEFINITION_PARAMETER - Static variable in class edu.pdx.cs.joy.apptbookweb.AppointmentBookServlet
- doDelete(HttpServletRequest, HttpServletResponse) - Method in class edu.pdx.cs.joy.apptbookweb.AppointmentBookServlet
-
Handles an HTTP DELETE request by removing all dictionary entries.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class edu.pdx.cs.joy.apptbookweb.AppointmentBookServlet
-
Handles an HTTP GET request from a client by writing the definition of the word specified in the "word" HTTP parameter to the HTTP response.
- doPost(HttpServletRequest, HttpServletResponse) - Method in class edu.pdx.cs.joy.apptbookweb.AppointmentBookServlet
-
Handles an HTTP POST request by storing the dictionary entry for the "word" and "definition" request parameters.
- dump(Map<String, String>) - Method in class edu.pdx.cs.joy.apptbookweb.PrettyPrinter
- dump(Map<String, String>) - Method in class edu.pdx.cs.joy.apptbookweb.TextDumper
E
- edu.pdx.cs.joy.apptbookweb - package edu.pdx.cs.joy.apptbookweb
F
- formatDictionaryEntry(String, String) - Static method in class edu.pdx.cs.joy.apptbookweb.PrettyPrinter
- formatWordCount(int) - Static method in class edu.pdx.cs.joy.apptbookweb.PrettyPrinter
G
- getAllDictionaryEntries() - Method in class edu.pdx.cs.joy.apptbookweb.AppointmentBookRestClient
-
Returns all dictionary entries from the server
- getDefinition(String) - Method in class edu.pdx.cs.joy.apptbookweb.AppointmentBookRestClient
-
Returns the definition for the given word
- getDefinition(String) - Method in class edu.pdx.cs.joy.apptbookweb.AppointmentBookServlet
L
- log(String) - Method in class edu.pdx.cs.joy.apptbookweb.AppointmentBookServlet
M
- main(String...) - Static method in class edu.pdx.cs.joy.apptbookweb.Project4
- Messages - Class in edu.pdx.cs.joy.apptbookweb
-
Class for formatting messages on the server side.
- Messages() - Constructor for class edu.pdx.cs.joy.apptbookweb.Messages
- MISSING_ARGS - Static variable in class edu.pdx.cs.joy.apptbookweb.Project4
- missingRequiredParameter(String) - Static method in class edu.pdx.cs.joy.apptbookweb.Messages
P
- parse() - Method in class edu.pdx.cs.joy.apptbookweb.TextParser
- postToMyURL(Map<String, String>) - Method in class edu.pdx.cs.joy.apptbookweb.AppointmentBookRestClient
- PrettyPrinter - Class in edu.pdx.cs.joy.apptbookweb
- PrettyPrinter(Writer) - Constructor for class edu.pdx.cs.joy.apptbookweb.PrettyPrinter
- Project4 - Class in edu.pdx.cs.joy.apptbookweb
-
The main class that parses the command line and communicates with the Appointment Book server using REST.
- Project4() - Constructor for class edu.pdx.cs.joy.apptbookweb.Project4
R
- removeAllDictionaryEntries() - Method in class edu.pdx.cs.joy.apptbookweb.AppointmentBookRestClient
T
- TextDumper - Class in edu.pdx.cs.joy.apptbookweb
- TextDumper(Writer) - Constructor for class edu.pdx.cs.joy.apptbookweb.TextDumper
- TextParser - Class in edu.pdx.cs.joy.apptbookweb
- TextParser(Reader) - Constructor for class edu.pdx.cs.joy.apptbookweb.TextParser
W
- WORD_PARAMETER - Static variable in class edu.pdx.cs.joy.apptbookweb.AppointmentBookServlet
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form